<?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>h1</key>
	<dict>
		<key>color</key>
		<string>h1</string>
		<key>pattern</key>
		<string>^#\s+.*$</string>
		<key>isBold</key>
		<true/>
	</dict>
	<key>h2</key>
	<dict>
		<key>color</key>
		<string>h2</string>
		<key>pattern</key>
		<string>^##\s+.*$</string>
		<key>isBold</key>
		<true/>
	</dict>
	<key>h3</key>
	<dict>
		<key>color</key>
		<string>h3</string>
		<key>pattern</key>
		<string>^###\s+.*$</string>
		<key>isBold</key>
		<true/>
	</dict>
	<key>h4</key>
	<dict>
		<key>color</key>
		<string>h4</string>
		<key>pattern</key>
		<string>^####\s+.*$</string>
		<key>isBold</key>
		<true/>
	</dict>
	<key>h5</key>
	<dict>
		<key>color</key>
		<string>h5</string>
		<key>pattern</key>
		<string>^#####\s+.*$</string>
		<key>isBold</key>
		<true/>
	</dict>
	<key>h6</key>
	<dict>
		<key>color</key>
		<string>h6</string>
		<key>pattern</key>
		<string>^######\s+.*$</string>
		<key>isBold</key>
		<true/>
	</dict>
	<key>bold</key>
	<dict>
		<key>color</key>
		<string>bold</string>
		<key>pattern</key>
		<string>\*\*.*?\*\*</string>
		<key>isBold</key>
		<true/>
	</dict>
	<key>italic</key>
	<dict>
		<key>color</key>
		<string>italic</string>
		<key>pattern</key>
		<string>(\*|_)(.+?)\1</string>
		<key>isItalic</key>
		<true/>
	</dict>
    <key>codeblock-fenced</key>
	<dict>
		<key>color</key>
		<string>code</string>
		<key>pattern</key>
		<string>([ \t]*[~`]{3,})([^\n]*?)\n[\S\s\n]*?\n\1</string>
		<key>backgroundColor</key>
		<string>codeBackground</string>
	</dict>
	<key>code</key>
	<dict>
		<key>color</key>
		<string>code</string>
		<key>pattern</key>
		<string>(?&lt;!`)`[^`]+`(?!`)</string>
		<key>backgroundColor</key>
		<string>codeBackground</string>
	</dict>
	<key>list</key>
	<dict>
		<key>color</key>
		<string>list</string>
		<key>pattern</key>
		<string>^(\s*)[-*+]\s+</string>
	</dict>
	<key>ordered-list</key>
	<dict>
		<key>color</key>
		<string>list</string>
		<key>pattern</key>
		<string>^(\s*)\d+\.\s+</string>
	</dict>
	<!-- Inline markdown links: [text](url) -->
	<key>link-brackets</key>
	<dict>
		<key>color</key>
		<string>linkBracket</string>
		<key>pattern</key>
		<string>(?&lt;!\!)(\[|\]|\(|\))(?=[^\)]*\))</string>
		<key>patternGroup</key>
		<integer>1</integer>
	</dict>
	<key>link-text</key>
	<dict>
		<key>color</key>
		<string>linkText</string>
		<key>pattern</key>
		<string>(?&lt;!\!)\[([^\]]+)\](?=\([^)]*\))</string>
		<key>patternGroup</key>
		<integer>1</integer>
	</dict>
	<key>link-url</key>
	<dict>
		<key>color</key>
		<string>linkURL</string>
		<key>pattern</key>
		<string>\(([^)]+)\)</string>
		<key>patternGroup</key>
		<integer>1</integer>
	</dict>
	<!-- Autolinks / self-linked URLs: &lt;url&gt; -->
	<key>angle-link-url</key>
	<dict>
		<key>color</key>
		<string>linkURL</string>
		<key>pattern</key>
		<string>&lt;([a-zA-Z][a-zA-Z0-9+.-]*://[\s\S]*?)&gt;</string>
		<key>patternGroup</key>
		<integer>1</integer>
	</dict>
	<key>angle-link-open-bracket</key>
	<dict>
		<key>color</key>
		<string>linkBracket</string>
		<key>pattern</key>
		<string>(&lt;)(?=[a-zA-Z][a-zA-Z0-9+.-]*://[\s\S]*?&gt;)</string>
		<key>patternGroup</key>
		<integer>1</integer>
	</dict>
	<key>angle-link-close-bracket</key>
	<dict>
		<key>color</key>
		<string>linkBracket</string>
		<key>pattern</key>
		<string>&lt;[a-zA-Z][a-zA-Z0-9+.-]*://[\s\S]*?(&gt;)</string>
		<key>patternGroup</key>
		<integer>1</integer>
	</dict>
	<key>image</key>
	<dict>
		<key>color</key>
		<string>image</string>
		<key>pattern</key>
		<string>!\[([^\]]*)\]\(([^)]+)\)</string>
	</dict>
	<key>strikethrough</key>
	<dict>
		<key>color</key>
		<string>999999</string>
		<key>pattern</key>
		<string>~~.*?~~</string>
		<key>isStrikethrough</key>
		<true/>
	</dict>
	<key>blockquote</key>
	<dict>
		<key>color</key>
		<string>blockquote</string>
		<key>pattern</key>
		<string>^\>\s+.*$</string>
		<key>isItalic</key>
		<true/>
	</dict>
	<key>table</key>
	<dict>
		<key>color</key>
		<string>table</string>
		<key>pattern</key>
		<string>^\|.*\|$</string>
	</dict>
	<key>table-separator</key>
	<dict>
		<key>color</key>
		<string>table</string>
		<key>pattern</key>
		<string>^\|[\s\-\|:]+\|$</string>
	</dict>
	<key>horizontal-rule</key>
	<dict>
		<key>color</key>
		<string>horizontal-rule</string>
		<key>pattern</key>
		<string>^[-*_]{3,}$</string>
	</dict>
	<key>footnote</key>
	<dict>
		<key>color</key>
		<string>footnote</string>
		<key>pattern</key>
		<string>\[\^[^\]]+\]</string>
	</dict>
	<key>task-list</key>
	<dict>
		<key>color</key>
		<string>task-list</string>
		<key>pattern</key>
		<string>^(\s*)[-*+]\s+\[[ x]\]</string>
	</dict>
	<key>definition-list</key>
	<dict>
		<key>color</key>
		<string>definition-list</string>
		<key>pattern</key>
		<string>^:\s+</string>
	</dict>
</dict>
</plist>
