Skip to content

Preview Settings

Vladimir Schneider edited this page Mar 12, 2018 · 1 revision

Options and configuration settings for the preview pane used for Markdown and optionally HTML documents.

Screenshot Settings Preview

  • Preview Browser: selects the preview browser to use for previews:
    • Default Swing: uses Swing preview browser. Fast but limited in its ability to render HTML or use stylesheet properties.
    • JavaFX WebView: uses JavaFX WebView browser. Excellent compatibility with HTML, CSS and Scripts with standard browsers. Slower rendering performance and requires JDK used for the IDE to have JavaFX, Troubleshooting Common Problems: Javafx WebView Html Preview Not Working
  • Last layout action sets default layout: when enabled any action which changes the editor/preview layout will also set the resulting configuration as the default for newly opened documents
  • Default preview type: set the type of preview to use documents by default:
    • HTML Preview: preview of the rendered HTML
    • HTML Text - Used in browser: preview of the HTML text used for the HTML Preview
    • HTML Text - Plain: preview of the HTML text as rendered by flexmark-java parser library.
  • Gray scale font smoothing: enables gray scale font smoothing for JavaFX WebView browser
  • Show GitHub page on commit: enables showing the GitHub page for the markdown document after the document was committed. Experimental feature. Allows verifying the document as it appears on GitHub.
  • Allow browsing in preview: enables browsing links in the preview page. Experimental feature.
  • Page Zoom (0.1-10):: sets the page zoom value. The resulting page zoom value is this value multiplied by the Global page zoom factor in Application Settings
  • Max img width:: sets maximum image width to use for Swing preview.
  • Show source search highlights in preview: enables showing editor search highlights in the preview pane.
  • Show source selection in preview: enables showing editor selections in preview pane.
  • Scroll preview to source position: enables synchronizing options between source editor and preview pane. Only available for JavaFX WebView preview.
    • Synchronize source to preview on click: enables synchronizing editor caret position to element text clicked in the preview.
    • Highlight preview element: selects type of what to highlight when editor caret position changes:
      • None: no highlight
      • Block: highlight the block containing the caret
      • Line: highlight the line containing the caret. This setting may cause some HTML elements to be changed to allow selection of line based text.
    • Remove highlight after (0-60) seconds: set automatic highlight removal delay in seconds.
    • Vertically align source and preview synchronized position: enables scrolling preview element to align with its counterpart in the text editor on synchronization.
  • Links resolve to corresponding GitHub files: when enabled preview links will open browser window. When disabled preview links which lead to Markdown documents in the project will open the corresponding file in the IDE.
  • Replace Emoji shortcut unicode with image: enables replacing unicode emoji characters by their corresponding Emoji images, if they exist in the Emoji Extension