We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2de636 commit 5832c42Copy full SHA for 5832c42
1 file changed
poly-markdown.el
@@ -62,8 +62,8 @@
62
:tail-matcher (pm-make-text-property-matcher 'markdown-yaml-metadata-end))
63
64
(define-auto-innermode poly-markdown-fenced-code-innermode poly-markdown-root-innermode
65
- :head-matcher (cons "^[ \t]*\\(```{?[[:alpha:]].*\n\\)" 1)
66
- :tail-matcher (cons "^[ \t]*\\(```\\)[ \t]*$" 1)
+ :head-matcher (pm-make-text-property-matcher 'markdown-gfm-block-begin :inc-end)
+ :tail-matcher (pm-make-text-property-matcher 'markdown-gfm-block-end)
67
:mode-matcher (cons "```[ \t]*{?\\(?:lang *= *\\)?\\([^ \t\n;=,}]+\\)" 1))
68
69
(define-auto-innermode poly-markdown-inline-code-innermode poly-markdown-root-innermode
0 commit comments