kakoune/rc
Gregory Chamberlain a49b1c4996 Adjust markdown code fences filetype regex
This highlighter (line 50 of markdown.kak) looks for the filetype
specified by the author at the top of the code fence, e.g.

``` python
print("hello")
```

and highlights the code within using Kakoune's relevant highlighter --
in this case Python.

Some flavours of markdown use curly braces and other characters in the
first line such as the following:

``` {=python}
print("hello")
```

Previously Kakoune recognised `{=python}` but not `{.python}`.  The latter
is Pandoc's flavour of markdown.  This patch adjusts the regex patterns
to recognise the dot notation as well.
2021-01-08 10:24:04 +00:00
..
detection file.kak: Acknowledge mime type application/x-shellscript 2020-12-23 22:45:07 +01:00
filetype Adjust markdown code fences filetype regex 2021-01-08 10:24:04 +00:00
tools Merge remote-tracking branch 'Ordoviz/pascal' 2021-01-03 11:28:11 +11:00
windowing Merge branch 'patch-5' of http://github.com/co-dh/kakoune 2021-01-04 09:44:58 +11:00