This blender addon for 2.8x allows you to use the preview HDRI from the cycles or Eevee viewport for rendering. With the click of one checkbox the add-on will automatically create the world nodes before rendering and remove them afterwards.
This allows you to quickly render a preview of your scene with simple lighting that matches your viewport.