Created
August 20, 2020 15:20
-
-
Save infologie/df7847e0f18f58d2a623ed2004e3a39b to your computer and use it in GitHub Desktop.
A Pandoc Markdown Codeless Language Module for BBEdit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BBEditDocumentType</key> | |
<string>CodelessLanguageModule</string> | |
<key>BBLMLanguageDisplayName</key> | |
<string>Pandoc Markdown</string> | |
<key>BBLMLanguageCode</key> | |
<string>pmd</string> | |
<key>BBLMColorsSyntax</key> | |
<true/> | |
<key>BBLMScansFunctions</key> | |
<true/> | |
<key>BBLMIsCaseSensitive</key> | |
<false/> | |
<key>BBLMKeywordList</key> | |
<array> | |
</array> | |
<key>BBLMSuffixMap</key> | |
<array> | |
<dict> | |
<key>BBLMLanguageSuffix</key> | |
<string>.md</string> | |
</dict> | |
</array> | |
<key>Language Features</key> | |
<dict> | |
<key>Comment Pattern</key> | |
<string><![CDATA[(?x: | |
(?s:<!--.*?-->) (?# comment block) | |
)]]></string> | |
<key>Function Pattern</key> | |
<string><![CDATA[(?x: | |
(?P<function> (?# heading) | |
^\#+\s+ | |
(?<function_name> | |
[^\r]+\r | |
) | |
) | |
)]]></string> | |
<key>String Pattern</key> | |
<string><![CDATA[(?x: | |
^---$ (?# yaml delimiter) | | |
^[a-z]+: (?# yaml field) | | |
^\#+\s+ (?# heading) | | |
\*+ (?# bold and italic) | | |
`+ (?# code delimiter) | | |
^[\s]*(-|\d+\.)\s (?# list marker) | | |
^> (?# blockquote) | | |
!\[ (?# image delimiter start) | | |
\]\([^)]+\) (?# image delimiter end) | | |
\[[^\[\]]+\]\([^)]+\) (?# link) | | |
<[^>]+> (?# link) | | |
\[\[\d{12}\]\] (?# zettelkasten link) | | |
\[[^@^…\]]*@[^\d]+\d{4}[^]]*\] (?# citation) | | |
\[\^\d+\]:? (?# numbered footnote) | | |
\^\[[^\[\]]+\] (?# inline footnote) | |
)]]></string> | |
</dict> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment