Emacs Markdown Mode
Breaking changes:
New Features:
Improvements:
markdown
passes buffer-file-name
as a parameter to
markdown-command
when markdown-command-needs-filename
is
t
and markdown-command
is a function.clear-image-cache
to make toggle inline image update.markdown-view-mode
GH-753
auto-mode-alist
GH-761
markdown-insert-table
prompt message GH-771
major-mode-remap-alist
to determine major-mode for code blocks GH-787
Bug fixes:
markdown-live-preview-mode
fails when eww-auto-rename-buffer
is non-nilGH-737
markdown-view-mode
GH-747
markdown-add-xhtml-header-and-footer
markdown-xwidget-issue-9
markdown-enter-key
doesn't delete empty checkbox listGH-786
Breaking changes:
markdown-do
supports following link GH-666
This changes behavior of markdown-do
at tableNew features:
markdown-mouse-follow-link
variable GH-290
markdown-link-make-text-function
function
to automatically define a default link text before prompting the user.markdown-disable-tooltip-prompt
.markdown-ordered-list-enumeration
variable GH-587
markdown-insert-foldable-block
function GH-598
markdown-table-align-p
flag GH-625
Control table alignment after table operationImprovements:
markdown-edit-code-block
GH-375
markdown-cycle
accepts universal-argument like org-cycle GH-530
markdown-toggle-inline-images
) without Imagemagick installed in the computer (emulating Org Mode)markdown-insert-{bold,italic}
when region starts with spacesGH-613
defface
via a macro rather than a function.markdown--first-displayable
to avoid performance
problems.add-function
on
markdown-table-at-point-p-function
.RET
name for C-m
.markdown-table-at-point-p-function
a non-nil default.
Simplify markdown-table-at-point-p
accordingly.sh-shell
when markdown-edit-code-block
enter indirect buffer with sh-mode
markdown-edit-code-block
GH-663
Bug fixes:
nil
being returned from markdown-imenu-create-nested-index
[GH-578][]markdown-table-forward-cell
at last column issue GH-522
markdown-follow-thing-at-point
failing on subdir search GH-590
markdown-table-backward-cell
so it always goes back a single cellmarkdown-table-align
to detect delimiters surrounded by spacesmarkdown-mouse-follow-link
and
markdown-table-align-p
point-max
in
markdown-syntax-propertize
syntax-propertize-extend-region-functions
buffer-locally
instead of globallysyntax-propertize-extend-region-functions
.markdown-table-sort-lines
via menu-bar with older Emacs(< 28) GH-641
markdown-toggle-url-hiding
GH-674
Thanks to Ta Quang Trung for a patchmarkdown-enable-math
exception issue GH-676
markdown-marginalize-headers
rendering in tty mode GH-677
Breaking changes:
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.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)markdown-fontify-code-blocks-natively
in gfm-view-mode
. ([GH-#451][])New features:
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)markdown-marginalize-headers
is non-nil
. Thanks to
Alexis Gallagher for a patch. (GH-272, GH-274)markdown-html-tag-name-face
,
markdown-html-tag-delimiter-face
,
markdown-html-attr-name-face
, and
markdown-html-attr-value-face
. (GH-249)markdown-html-entity-face
.markdown-max-image-size
,
a cons cell of the form (max-width . max-height)
.markdown-view-mode
and
gfm-view-mode
with keymaps similar to view-mode
and
help-mode
. (GH-296)markdown-add-footnotes-to-imenu
. (GH-235)markdown-xhtml-body-preamble
and
markdown-xhtml-body-epilogue
for wrapping additional XHTML
tags around the output. (GH-280, GH-281)markdown-unused-refs
command to list and clean up unused
references (available via C-c C-c u
). (GH-322)markdown-insert-table
(C-c C-s t
) for interactive
table insertion. (GH-369)markdown-kill-outline
and markdown-kill-block
functions.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:
markdown-command
and markdown-open-command
to be
functions. (GH-255, GH-263)markdown-open-command
and run
markdown-open-command
asynchronously. Thanks to Dmitry
Safronov for a patch. (GH-248)markdown-translate-filename-function
to translate
filenames when following file links. (GH-268, GH-277)markdown-export-kill-buffer
to kill or preserve
HTML export output buffer. (GH-224)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)C-c C-s C
. (GH-251)char-displayable-p
. (GH-264)markdown-footnote-display
. (GH-247)markdown-sub-superscript-display
.display-buffer-alist
then use display-buffer
. (GH-413)markdown-command
settingmarkdown-command
markdown-translate-filename-function
for markdown-display-inline-images
(GH-422)filter-buffer-substring-function
for markdown-view-mode
and
gfm-view-mode
(GH-493)electric-pair-mode
Bug fixes:
composition
property to avoid
failing tests. (GH-246, GH-258)markdown-open-command
, markdown-uri-types
,
and markdown-hr-strings
defcustoms. (GH-254, GH-259)/tmp
contains an
inaccessible subdirectory. (GH-261)markdown-inline-code-face
's :inherit
attribute.
(GH-252)markdown-css-paths
variable.
(GH-276)markdown-code-face
background color at package
load time. (GH-273)markdown
and markdown-open
.
(GH-291)markdown-inline-code-at-pos
.
(GH-313)markdown-list-indent-width
issue(GH-405)