|
4 | 4 | "If you want to provide a fix or improvement, please create a pull request against the original repository.", |
5 | 5 | "Once accepted there, we are happy to receive an update request." |
6 | 6 | ], |
7 | | - "version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/00b05ebe6850083664d92d0eba6e5ee8f153baa6", |
| 7 | + "version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/46724e2885f9557400ed91727d75c3574ceded3a", |
8 | 8 | "name": "Markdown", |
9 | 9 | "scopeName": "text.html.markdown", |
10 | 10 | "patterns": [ |
|
1682 | 1682 | } |
1683 | 1683 | ] |
1684 | 1684 | }, |
| 1685 | + "fenced_code_block_log": { |
| 1686 | + "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(log)(\\s+[^`~]*)?$)", |
| 1687 | + "name": "markup.fenced_code.block.markdown", |
| 1688 | + "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$", |
| 1689 | + "beginCaptures": { |
| 1690 | + "3": { |
| 1691 | + "name": "punctuation.definition.markdown" |
| 1692 | + }, |
| 1693 | + "4": { |
| 1694 | + "name": "fenced_code.block.language.markdown" |
| 1695 | + }, |
| 1696 | + "5": { |
| 1697 | + "name": "fenced_code.block.language.attributes.markdown" |
| 1698 | + } |
| 1699 | + }, |
| 1700 | + "endCaptures": { |
| 1701 | + "3": { |
| 1702 | + "name": "punctuation.definition.markdown" |
| 1703 | + } |
| 1704 | + }, |
| 1705 | + "patterns": [ |
| 1706 | + { |
| 1707 | + "begin": "(^|\\G)(\\s*)(.*)", |
| 1708 | + "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)", |
| 1709 | + "contentName": "meta.embedded.block.log", |
| 1710 | + "patterns": [ |
| 1711 | + { |
| 1712 | + "include": "text.log" |
| 1713 | + } |
| 1714 | + ] |
| 1715 | + } |
| 1716 | + ] |
| 1717 | + }, |
1685 | 1718 | "fenced_code_block": { |
1686 | 1719 | "patterns": [ |
1687 | 1720 | { |
|
1831 | 1864 | { |
1832 | 1865 | "include": "#fenced_code_block_markdown" |
1833 | 1866 | }, |
| 1867 | + { |
| 1868 | + "include": "#fenced_code_block_log" |
| 1869 | + }, |
1834 | 1870 | { |
1835 | 1871 | "include": "#fenced_code_block_unknown" |
1836 | 1872 | } |
|
0 commit comments