Merge pull request #39 from benley/example-block-src

Use triple-backtick block syntax for example blocks too
This commit is contained in:
Lars Tveito 2022-09-10 15:21:35 +02:00 committed by GitHub
commit 46faa67dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,7 @@
:translate-alist '((inner-template . org-gfm-inner-template)
(paragraph . org-gfm-paragraph)
(strike-through . org-gfm-strike-through)
(example-block . org-gfm-example-block)
(src-block . org-gfm-src-block)
(table-cell . org-gfm-table-cell)
(table-row . org-gfm-table-row)
@ -92,6 +93,10 @@ channel."
(suffix "```"))
(concat prefix code suffix)))
;;;; Example Block
(defalias 'org-gfm-example-block #'org-gfm-src-block)
;;;; Strike-Through