kakoune/rc/base
Tim Allen 535abe2ba7 markdown.kak: Clean up code-block and code-span formatting.
Previously, a code block was anything between triple-backtics, including inline
blocks:

        some text ```
        not a codeblock, but highlighted as one
        ``` other text

and even if the closing backticks had the wrong indent:

        ```
        this is a code block containing a triple backtick
            ```
        this is still a code block, but Kakoune thinks otherwise
        ```

Now we use the -match-capture flag to ensure the start and end fences have
exactly the same indent.

Previously, the generic code-block region was defined first, which meant that
it took priority over all the language-specific highlighters. Now we define
the generic code-block highlighting *after* the others, which fixes #2304.

Previously, code-spans were defined as ordinary inline markup, but in Markdown
ordinary formatting doesn't work inside code-spans. Therefore, they are now
regions unto themselves, defined according to section 6.3 of the CommonMark
spec <https://spec.commonmark.org/0.28/#code-spans>, which addresses a comment
on #2111.
2018-09-18 19:18:32 +10:00
..
autowrap.kak Make register expansions expand to the full register content 2018-07-05 07:54:28 +10:00
clojure.kak Improve Clojure highlighting 2018-09-04 20:44:25 -04:00
css.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
ctags.kak Convert some of the rc/ scripts to the new list syntax 2018-07-05 07:54:28 +10:00
d.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
etc.kak Fix remaining kak scripts to use the new highlighter syntax 2018-07-05 07:54:28 +10:00
file.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
fish.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
gas.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
git.kak rc git: Support new rebase commands 2018-08-19 07:44:00 +03:00
go.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
haskell.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
html.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
ini.kak rc: Highlight systemd files in a dedicated script 2018-07-24 11:28:09 +03:00
java.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
javascript.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
json.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
julia.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
lint.kak Use -once hooks to remove fifo directories 2018-08-19 08:04:31 +10:00
lisp.kak rc lisp: Highlight basic numeral forms 2018-08-13 20:49:15 +03:00
lua.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
mail.kak mail.kak: Recognize Date header 2018-07-19 18:40:48 +10:00
markdown.kak markdown.kak: Clean up code-block and code-span formatting. 2018-09-18 19:18:32 +10:00
mercurial.kak Add / behind add-highlighter path 2018-07-26 10:59:42 +02:00
ocaml.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
perl.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
restructuredtext.kak Tweak various scripts to improve the time they take to load 2018-07-19 18:32:29 +10:00
ruby.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
rust.kak rust.kak: Support Rust's raw-string syntax. 2018-08-02 15:16:25 +10:00
scala.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
screen.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
spell.kak Fix unclosed string due to unescaped ' 2018-07-26 11:16:44 +02:00
sql.kak sql is case insensitive 2018-07-30 14:49:21 -04:00
swift.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00
tmux.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
x11.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
yaml.kak Make recurse regex opt-in with a -recurse switch instead of opt-out 2018-07-05 07:54:28 +10:00