Download Latest Version markdown-mode v2.7 source code.tar.gz (229.5 kB)
Email in envelope

Get an email when there's a new version of Emacs Markdown Mode

Home / v2.4
Name Modified Size InfoDownloads / Week
Parent folder
markdown-mode v2.4..tar.gz 2020-05-30 211.3 kB
markdown-mode v2.4..zip 2020-05-30 224.0 kB
README.md 2020-05-30 14.8 kB
Totals: 3 Items   450.1 kB 0
  • Breaking changes:

    • GNU Emacs 25.1 or later is required. And xemacs support has been dropped
    • Face variables, such as markdown-italic-face are now obsolete. Use face names directly in code and customizations. The face names themselves are unaffected, so this shouldn't affect most users.
    • Delete obsoleted aliases
    • Internal variables markdown-font-lock-keywords-basic and gfm-font-lock-keywords are now obsolete. markdown-font-lock-keywords is now used instead, but users should use font-lock-add-keywords instead of modifying this variable.
    • markdown-mode now adds entries to the beginning of auto-mode-alist rather than the end. If you were relying on the previous behavior in order to override these entries, you should fix the problem by following best practice and ensuring that your user configuration is loaded after the autoloads for markdown-mode are evaluated. (GH-331, GH-335)
    • Point at the end of fenced code blocks is no-longer considered part of the code block ([GH-#349][]).
    • Enable markdown-fontify-code-blocks-natively in gfm-view-mode. ([GH-#451][])
  • New features:

    • GFM task list item (checkbox) insertion with C-c C-s [, or as a final fallback for markdown-do (C-c C-d). Thanks to Akinori Musha for a patch. (GH-229)
    • Optionally move leading atx heading markup to the left margin when markdown-marginalize-headers is non-nil. Thanks to Alexis Gallagher for a patch. (GH-272, GH-274)
    • Added pipe table editing features. Thanks to Dmitry Safronov for a patch. (GH-171, GH-266)
    • Font lock for HTML tags and attributes, with new faces markdown-html-tag-name-face, markdown-html-tag-delimiter-face, markdown-html-attr-name-face, and markdown-html-attr-value-face. (GH-249)
    • Font lock for HTML entities, with a new face markdown-html-entity-face.
    • Scale down large inline images using markdown-max-image-size, a cons cell of the form (max-width . max-height).
    • Added read-only viewing modes markdown-view-mode and gfm-view-mode with keymaps similar to view-mode and help-mode. (GH-296)
    • Optionally add footnote definitions to the end of the imenu index using markdown-add-footnotes-to-imenu. (GH-235)
    • Add custom variables markdown-xhtml-body-preamble and markdown-xhtml-body-epilogue for wrapping additional XHTML tags around the output. (GH-280, GH-281)
    • Add markdown-unused-refs command to list and clean up unused references (available via C-c C-c u). (GH-322)
    • Add markdown-insert-table (C-c C-s t) for interactive table insertion. (GH-369)
    • Add markdown-kill-outline and markdown-kill-block functions.
    • Added markdown-display-remote-images for viewing remote images. Thanks to Sean Allread for the patch. (GH-378)
    • markdown-back-to-heading can be used as command (GH-415)
  • Improvements:

    • Insert references before local variables. Thanks to Philipp Stephani for a patch. (GH-216, GH-262)
    • Allow markdown-command and markdown-open-command to be functions. (GH-255, GH-263)
    • Save the buffer before running markdown-open-command and run markdown-open-command asynchronously. Thanks to Dmitry Safronov for a patch. (GH-248)
    • New user option markdown-translate-filename-function to translate filenames when following file links. (GH-268, GH-277)
    • Support double-backslash math delimiters. (GH-270)
    • New user option markdown-export-kill-buffer to kill or preserve HTML export output buffer. (GH-224)
    • Add custom variables markdown-edit-code-block-default-mode and markdown-fontify-code-block-default-mode to specify default modes for indirect editing and fontification of code blocks. (GH-251, GH-303)
    • Insert-and-indirect-edit GFM code blocks simultaneously by giving a prefix argument to C-c C-s C. (GH-251)
    • Improve package load time by deferring calls to char-displayable-p. (GH-264)
    • Only raise footnotes when markup hiding is on. Footnote display properties may now be customized via markdown-footnote-display. (GH-247)
    • Customizable subscript and superscript display properties via markdown-sub-superscript-display.
    • Several font-lock performance improvements.
    • Support horizontal rules consisting of underscores.
    • Change default character encoding to UTF-8. (GH-340, GH-350)
    • Support more markdown extensions same as Vim
    • Complete link text from link labels at inserting link. (GH-421)
    • Improve regular expression for inline attributes. (GH-406)
    • Allow relative CSS stylesheets paths. (GH-389)
    • Improve regular expression matching for inline attributes. (GH-389)
    • If user set display-buffer-alist then use display-buffer. (GH-413)
    • Add custom variable for opening image. (GH-383)
    • Improve default markdown-command setting
    • Use markdown-command directly instead of 'sh -c' (GH-319)
    • Use explicitly numbered group as possible for easy reading regexp
    • Support list of strings of markdown-command
    • Apply markdown-translate-filename-function for markdown-display-inline-images (GH-422)
    • Implement own filter-buffer-substring-function for markdown-view-mode and gfm-view-mode (GH-493)
    • Improve triple backtick behavior with electric-pair-mode
    • Update code block language list
  • Bug fixes:

    • No longer treat code fragments that are delimited with three backquotes on each side as the beginning of a code block. (GH-403)
    • Fix infloop caused by incorrect detection of end of code blocks (GH-349).
    • Remove GFM checkbox overlays when switching major modes. (GH-238, GH-257)
    • Don't test the value of the composition property to avoid failing tests. (GH-246, GH-258)
    • Fix types for markdown-open-command, markdown-uri-types, and markdown-hr-strings defcustoms. (GH-254, GH-259)
    • Don't insert trailing whitespace when inserting a blockquote. (GH-227, GH-260)
    • Make wiki link test work even when /tmp contains an inaccessible subdirectory. (GH-261)
    • Fix markdown-inline-code-face's :inherit attribute. (GH-252)
    • Fix type of customizable markdown-css-paths variable. (GH-276)
    • Don't set markdown-code-face background color at package load time. (GH-273)
    • Don't clobber user specified font-lock keywords when toggling features. (GH-222)
    • Fix font-lock for inline code inside italics and bold. (GH-275)
    • Make code block language detection handle unspecified or unknown code block languages. (GH-284)
    • Fix precedence of inline code over inline links.
    • Improve error reporting for markdown and markdown-open. (GH-291)
    • Fix M-RET binding for terminals. (GH-317)
    • Do not fail displaying inline images on empty links. (GH-320)
    • Fix off-by-one error in markdown-inline-code-at-pos. (GH-313)
    • Fix bounds during inline comment syntax propertization. (GH-327)
    • Fix wrong metadata highlighting. (GH-437)
    • Fix wrong italic highlighting in HTML attributes. (GH-410)
    • Fix markdown-follow-thing-at-point issue for continuous links. (GH-305)
    • Fix wrong setting major-mode issue at following wiki link(GH-427)
    • Fix not consider markdown-list-indent-width issue(GH-405)
    • Fix URL open issue which contains end parentheses (GH-408)
    • Follow link even if it is in header(GH-430)
    • Fix clean up list number issue(GH-392)
    • Fix insert markup functions in consecutive case(GH-283)
    • Fix hide markup issue in markdown/gfm-view-mode(GH-468)
    • Fix bold regexp issue(GH-325)
    • Fix italic and punctual character issue(GH-359)
    • Fix table align issue when column contains escaped bar(GH-308)
    • Fix nested block fill-paragraph issue(GH-366)
    • Fix table transpose issue with wiki link
    • Fix indent-region for pre block(GH-228)
    • Fix link highlight issue which contains escaped right bracket(GH-409)
    • Fix math inline single/double highlight issue(GH-352)
    • Fix markdown-table-forward-cell escaped vertical bar issue(GH-489)
    • Fix markdown-table-backward-cell escaped vertical bar issue
    • Fix GFM italic markup issue(GH-448)
Source: README.md, updated 2020-05-30