diff options
-rw-r--r-- | sx-question-print.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index fab2999..6599532 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -772,6 +772,8 @@ move point, don't create the code-block button." (let ((beg (line-beginning-position))) ;; To identify code-blocks we need to be at start of line. (goto-char beg) + (when (fboundp 'markdown-syntax-propertize) + (markdown-syntax-propertize (point) (point-max))) (when (markdown-match-pre-blocks (line-end-position)) (unless dont-fontify (sx-babel--make-pre-button beg (point))) |