Releases: jrblevin/markdown-mode
Releases · jrblevin/markdown-mode
markdown-mode v2.7
-
New Features:
- Variable
markdown-follow-link-functionsextends
markdown-follow-link-at-pointsimilarly to Org's
org-open-at-point-functions, allowing other libraries to
handle links specially. GH-780 - Support media handler for images and drag and drop images GH-804
- Add functions to move to the beginning and end of lines
(markdown-beginning-of-lineandmarkdown-end-of-line), and the
variablemarkdown-special-ctrl-a/e, like Org mode. - Trailing whitespace characters for line breaks are hidden when using
markdown-hide-markup fill-paragraphconsiders GFM alert syntax GH-838- Add new flag
markdown-wiki-link-retain-caseGH-839
- Variable
-
Bug fixes:
- Don't highlight superscript/subscript in math inline/block GH-802
- Fix table alignment when a column has a seperator in code block GH-817
- Fix the regexp in the download languages script GH-827
- Don't hide backslashes in code blocks when using
markdown-hide-markup
andmarkdown-fontify-code-blocks-nativelytogether [GH-766][] - Fix
markdown-fontify-whole-heading-lineregression GH-848 - Fix using fundamental-mode issue when editting code block GH-868
- Fix highlighting URL in angle brackesGH-822
-
Improvements:
- Apply url-unescape against URL in an inline link GH-805
- Show mode toggle message only if it is called interactively
- Copy
markdown-css-pathsin the output buffer GH-834 - Change temporary buffer name according to the Emacs naming convention GH-848
- Mark
markdown-css-pathssafe as file local variables GH-834 - Resolve style sheets in
markdown-css-pathsrelative to the Markdown file
(if the path starts with./or../) GH-855 GH-870 - Don't insert list item in code block GH-841
- Don't set mouse face if
markdown-mouse-follow-linkis nil GH-879
markdown-mode v2.6
-
Breaking changes:
-
New Features:
-
Improvements:
markdownpassesbuffer-file-nameas a parameter to
markdown-commandwhenmarkdown-command-needs-filenameis
tandmarkdown-commandis a function.- Support newer version Eldoc ships with Emacs 28.
- Don't spell-check against pandoc references. GH-572
- Support tree-sitter-based major modes used by Emacs 29.
- Highlight "geo" URI scheme GH-739
clear-image-cacheto make toggle inline image update.- Highlight autolinks if a scheme is valid and it is not registered in markdown-uri-types
GH-743 - Improve horizontal rule rendering in
markdown-view-modeGH-753 - Don't load major-mode if it isn't in
auto-mode-alistGH-761 - Improve
markdown-insert-tableprompt message GH-771 - Consider
major-mode-remap-alistto determine major-mode for code blocks GH-787 - Set marker after footnote reference GH-793
- Improve putting text attribute for indented blocks GH-794
-
Bug fixes:
- Don't override table faces by link faces GH-716
- Fix invalid italic fontification after bold markupsGH-731
- Fix
markdown-live-preview-modefails wheneww-auto-rename-bufferis non-nilGH-737 - Fix to mistake to handle the line as delimiter rowGH-747
- Fix wrong displaying horizontal rule in
markdown-view-modeGH-747 - HTML-escape title in
markdown-add-xhtml-header-and-footermarkdown-xwidget-issue-9 - Fix wrong inline link parsing that has link titleGH-762
- Don't treat backslashes as escapes inside literal blocksGH-766 GH-768
- Fix
markdown-enter-keydoesn't delete empty checkbox listGH-786
markdown-mode v2.5
-
Breaking changes:
markdown-dosupports following link GH-666
This changes behavior ofmarkdown-doat table
-
New features:
- Introduce
markdown-mouse-follow-linkvariable GH-290 - Option to define a
markdown-link-make-text-functionfunction
to automatically define a default link text before prompting the user. - Option to inhibit the prompt for a tooltip text via
markdown-disable-tooltip-prompt. - Introduce
markdown-ordered-list-enumerationvariable GH-587 - Search wiki link under project
- Add
markdown-insert-foldable-blockfunction GH-598 - Add
markdown-table-align-pflag GH-625
Control table alignment after table operation - Support highlighting syntax like Obsidian, Quilt. GH-652
- Introduce
-
Improvements:
- Correct indirect buffer's indentation in
markdown-edit-code-blockGH-375 - Cleanup test code
- Strip query parameters from local file name at displaying inline images GH-511
- Improve forward/backward sentences which are wrapped markup characters GH-517
- Improve fontification for nested meta data GH-476
markdown-cycleaccepts universal-argument like org-cycle GH-530- Improve mode check for derived modes GH-532
- Improve for file which contains many comments GH-536
- Improve for file which contains many pre blocks GH-512
- Enable flyspell check at yaml metadataGH-560
- Clean up Makefile
- Support to display local image with percent encoding file path
- Add ability to resize inline image display (
markdown-toggle-inline-images) without Imagemagick installed in the computer (emulating Org Mode) - Support including braces around the language specification in GFM code blocks
- Improve
markdown-insert-{bold,italic}when region starts with spacesGH-613 - Disable buffer-read-only if possible when markdown-mode is called GH-622
- Generate the
deffacevia a macro rather than a function. - Memoize
markdown--first-displayableto avoid performance
problems. - Allow the use of
add-functionon
markdown-table-at-point-p-function. - Comment out redundant bindings and use the more standard
RET
name forC-m. - Give
markdown-table-at-point-p-functiona non-nil default.
Simplifymarkdown-table-at-point-paccordingly. - Auto set
sh-shellwhenmarkdown-edit-code-blockenter indirect buffer withsh-mode - Add value check and avoid raising the exception at
markdown-edit-code-blockGH-663 - Add NonGNU ELPA badge to README and website
- Support plus/negative(also Unicode minus sign) exponent in super script GH-346
- Correct indirect buffer's indentation in
-
Bug fixes:
- Fix issue with
nilbeing returned frommarkdown-imenu-create-nested-index[GH-578][] - Fix remaining flyspell overlay in code block or comment issue GH-311
- Fix inline URL regular expression which starts/ends with spaces GH-514
- Fix GFM italic fontification for one character GH-524
- Fix
markdown-table-forward-cellat last column issue GH-522 - Fix GFM bold fontification with underscore issue GH-525
- Fix wrong fontification words between strong markups GH-534
- Fix wrong italic fontification just after code block GH-548
- Fix too indended list face issue GH-569
- Fix creating imenu index issue when there is no level-1 header tooGH-571
- Fix highlighting consecutive HTML commentsGH-584
- Fix
markdown-follow-thing-at-pointfailing on subdir search GH-590 - Fix
markdown-table-backward-cellso it always goes back a single cell - Fix
markdown-table-alignto detect delimiters surrounded by spaces - Fix customization for
markdown-mouse-follow-linkand
markdown-table-align-p - Fix accessing locations beyond
point-maxin
markdown-syntax-propertize - Set
syntax-propertize-extend-region-functionsbuffer-locally
instead of globally - Modify only the buffer-local part of
syntax-propertize-extend-region-functions. - Fix list highlighting issue in code block GH-631
- Fix exception when inserting code block at end of buffer GH-634
- Fix table operations when table column contains escaped vertical bars GH-635
- Fix issue that executing
markdown-table-sort-linesvia menu-bar with older Emacs(< 28) GH-641 - Fix wrong markdown table command issue in menu GH-639
- Fix table conversion issue GH-639
- Fix fill paragraph issue with setext heading GH-638
- Fix line break highlighting issue at end of buffer GH-621
- Fix URL highlighting which contains comma or parentheis GH-649
- Fix eldoc function issue with
markdown-toggle-url-hidingGH-674
Thanks to Ta Quang Trung for a patch - Fix
markdown-enable-mathexception issue GH-676 - Fix
markdown-marginalize-headersrendering in tty mode GH-677 - Fix table and list fontification GH-680
- Fix invalid code block highlighting GH-684
- Fix issue with
markdown-mode v2.4.
-
Breaking changes:
- GNU Emacs 25.1 or later is required. And xemacs support has been dropped
- Face variables, such as
markdown-italic-faceare 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-basicand
gfm-font-lock-keywordsare now obsolete.
markdown-font-lock-keywordsis now used instead, but users
should usefont-lock-add-keywordsinstead of modifying this
variable. markdown-modenow adds entries to the beginning of
auto-mode-alistrather 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-modeare 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-nativelyingfm-view-mode. ([GH-#451][])
-
New features:
- GFM task list item (checkbox) insertion with
C-c C-s [, or
as a final fallback formarkdown-do(C-c C-d). Thanks to
Akinori Musha for a patch. (GH-229) - Optionally move leading atx heading markup to the left margin
whenmarkdown-marginalize-headersis 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-modeand
gfm-view-modewith keymaps similar toview-modeand
help-mode. ([GH-296][]) - Optionally add footnote definitions to the end of the imenu
index usingmarkdown-add-footnotes-to-imenu. (GH-235) - Add custom variables
markdown-xhtml-body-preambleand
markdown-xhtml-body-epiloguefor wrapping additional XHTML
tags around the output. ([GH-280][], [GH-281][]) - Add
markdown-unused-refscommand to list and clean up unused
references (available viaC-c C-c u). ([GH-322][]) - Add
markdown-insert-table(C-c C-s t) for interactive
table insertion. ([GH-369][]) - Add
markdown-kill-outlineandmarkdown-kill-block
functions. - Added
markdown-display-remote-imagesfor viewing remote
images. Thanks to Sean Allread for the patch. ([GH-378][]) markdown-back-to-headingcan be used as command ([GH-415][])
- GFM task list item (checkbox) insertion with
-
Improvements:
- Insert references before local variables. Thanks to Philipp
Stephani for a patch. (GH-216, [GH-262][]) - Allow
markdown-commandandmarkdown-open-commandto be
functions. ([GH-255][], [GH-263][]) - Save the buffer before running
markdown-open-commandand run
markdown-open-commandasynchronously. Thanks to Dmitry
Safronov for a patch. ([GH-248][]) - New user option
markdown-translate-filename-functionto translate
filenames when following file links. ([GH-268][], [GH-277][]) - Support double-backslash math delimiters. ([GH-270][])
- New user option
markdown-export-kill-bufferto kill or preserve
HTML export output buffer. (GH-224) - Add custom variables
markdown-edit-code-block-default-mode
andmarkdown-fontify-code-block-default-modeto 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 toC-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
viamarkdown-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-alistthen usedisplay-buffer. ([GH-413][]) - Add custom variable for opening image. ([GH-383][])
- Improve default
markdown-commandsetting - 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-functionformarkdown-display-inline-images
([GH-422][]) - Implement own
filter-buffer-substring-functionformarkdown-view-modeand
gfm-view-mode([GH-493][]) - Improve triple backtick behavior with
electric-pair-mode - Update code block language list
- Insert references before local variables. Thanks to Philipp
-
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
compositionproperty to avoid
failing tests. ([GH-246][], [GH-258][]) - Fix types for
markdown-open-command,markdown-uri-types,
andmarkdown-hr-stringsdefcustoms. ([GH-254][], [GH-259][]) - Don't insert trailing whitespace when inserting a blockquote.
(GH-227, [GH-260][]) - Make wiki link test work even when
/tmpcontains an
inaccessible subdirectory. ([GH-261][]) - Fix
markdown-inline-code-face's:inheritattribute.
([GH-252][]) - Fix type of customizable
markdown-css-pathsvariable.
([GH-276][]) - Don't set
markdown-code-facebackground 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
markdownandmarkdown-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-widthissue([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][])
- No longer treat code fragments that are delimited with three