Created
November 19, 2014 12:52
-
-
Save qrg/64192dc80571a094a2de to your computer and use it in GitHub Desktop.
This file contains 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
# [PackageDev] target_format: plist, ext: tmLanguage | |
--- | |
name: JIRA Syntax | |
scopeName: text.jira-syntax-tmlanguage | |
fileTypes: [] | |
uuid: d16334ef-4dd6-4b0d-bf17-2c06f48c1b9d | |
patterns: | |
- match: ^h[1-6][ ].*$ | |
name: markup.heading.headings.jira-syntax-tmlanguage | |
comment: hadings | |
- match: ^h1\.[ ].*$ | |
name: markup.heading.1.jira-syntax-tmlanguage | |
comment: h1 | |
- match: ^h2\.[ ].*$ | |
name: markup.heading.2.jira-syntax-tmlanguage | |
comment: h2 | |
- match: ^h3\.[ ].*$ | |
name: markup.heading.3.jira-syntax-tmlanguage | |
comment: h3 | |
- match: ^h4\.[ ].*$ | |
name: markup.heading.4.jira-syntax-tmlanguage | |
comment: h4 | |
- match: ^h5\.[ ].*$ | |
name: markup.heading.5.jira-syntax-tmlanguage | |
comment: h5 | |
- match: ^h6\.[ ].*$ | |
name: markup.heading.6.jira-syntax-tmlanguage | |
comment: h6 | |
- match: \s(\*)(.+?)(\*)\s | |
captures: | |
'1': | |
name: meta.code.jira-syntax-tmlanguage | |
'2': | |
name: markup.bold.jira-syntax-tmlanguage | |
'3': | |
name: meta.code.jira-syntax-tmlanguage | |
comment: strong | |
- match: (\[)(.+?)(\|)(.+?)(\]) | |
captures: | |
'1': | |
name: meta.code.jira-syntax-tmlanguage | |
'2': | |
name: markup.anchor.external.alias.jira-syntax-tmlanguage | |
'3': | |
name: meta.code.jira-syntax-tmlanguage | |
'4': | |
name: markup.anchor.external.uri.jira-syntax-tmlanguage | |
'5': | |
name: meta.code.jira-syntax-tmlanguage | |
comment: anchor external URI | |
- match: ^\*+[ ] | |
name: markup.list.unordered.mark.jira-syntax-tmlanguage | |
comment: ul li | |
- match: ^#+[ ] | |
name: markup.list.ordered.mark.jira-syntax-tmlanguage | |
comment: ol li | |
- name: markup.raw.jira-syntax-tmlanguage | |
match: (\{{2})(.+?)[^\\](\}{2}) | |
captures: | |
'1': | |
name: meta.code.jira-syntax-tmlanguage | |
'2': | |
name: markup.raw.jira-syntax-tmlanguage | |
'3': | |
name: meta.code.jira-syntax-tmlanguage | |
comment: code inline / {{...}} | |
- name: markup.raw.code.jira-syntax-tmlanguage | |
begin: (\{code[:|]*.*?\}) | |
beginCaptures: | |
'1': | |
name: meta.code.jira-syntax-tmlanguage | |
end: (\{code\}) | |
endCaptures: | |
'1': | |
name: meta.code.jira-syntax-tmlanguage | |
comment: code block / {code} ... {code} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AAAPackageDev plugin
-> New YAML Syntax Definition