Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Created May 23, 2025 16:09
Show Gist options
  • Save ttscoff/e95f702ec1a2371f83346c00706211b9 to your computer and use it in GitHub Desktop.
Save ttscoff/e95f702ec1a2371f83346c00706211b9 to your computer and use it in GitHub Desktop.
Release notes for the upcoming Marked 3

Marked 3.0.0 (1072)

An all-new, best-in-class DOCX exporter. Marked can now even open DOCX files and export them as Markdown or any other format.

New Markdown processors built in: CommonMark (with GFM extensions) and Kramdown! Kramdown adds the ability to apply ids, clases, and other attributes to inline and block elements, among other features.

Let's see, what else?

NEW

  • Syntax highlighting for CSS and JSON fields
  • Custom Styles can be dragged and dropped on the Settings window to add them
  • Menu of static Word export styles
  • Ability to open DOCX files directly and convert to Markdown
  • Display a message when an empty file is opened
  • DOCX change tracking is now converted to CriticMarkup in the Markdown document
  • CommonMark processor option, includes all GFM extensions
  • Kramdown processor (requires Ruby), supports all Kramdown syntax

IMPROVED

  • Completely rewritten DOCX export, faster, valid style markup
  • Reorderable custom Styles
  • Button visibility in Settings
  • Double click to rename Custom Styles in menu
  • Performance improvements for lined text views
  • Hide advanced config options when MathJax is disabled
  • Ignore non-numeric values in reading speed text field
  • Suppress open dialog when opening a file
  • Scrivener import will convert single-cell tables (used for asides) into block quotes
  • When exporting, convert non-built-in fonts to equivalent system fonts
  • Better regex for detecting highlights and deletions in text
  • Completely rewritten Scrivener import, faster and with no reliance on Ruby or Python
  • Rewritten RTF/RTFD export
  • Rewritten CriticMarkup handling, all native, no reliance on external scripts or tools
  • Handle DOCX highlights, using a <mark> tag with appropriate background color
  • In DOCX import, allow highlights to be suppressed when comments are disabled
  • Clicking on the WPM number in the detailed stats window makes it editable
  • Detailed stats view UI adjustments
  • Native mmd_merge handler
  • Hold option to set debug logging level from the Help menu
  • Additional documentation about debugging and support requests
  • Store current autoscroll speed as a global preference instead of preview-specific value, ensuring consistent behavior across previews and maintaining preferences across launches.
  • Autoscroll now works with a WPM (words per minute) setting, and calculates how many words would fit on the screen with the current style, setting the scroll speed accordingly
  • Syntax highlighting in code blocks is preserved when exporting to Word
  • Markdown export can optionally wrap text at a specified width
  • Markdown export can optionally convert inline links to reference links

FIXED

  • Help document list item link styling
  • Tab order in Proofreading Settings
  • Paragraphs generated by DOCX converter that start with <mark> not being properly handled by MultiMarkdown

CHANGED

  • Keyboard shortcuts for export options
  • Remove RTFD export option. RTFD will be automatically selected when the export includes images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment