Julia-sublime
Julia-sublime copied to clipboard
Documenter strings containing LATex are broken e.g. doc""" $ latex here $ """
Test case:
# LATex in Documenter strings
doc"""$\pi$"""
# ^^^^^^^^^^^^^^ string.quoted.other
Patch:
strings:
...
# Documenter string, tripple-quoted. Has special escaping and no string interpolation.
- match: '\bdoc"""'
push:
- meta_scope: string.quoted.other.julia
- match: (\\"|\\\\)
scope: constant.character.escape.julia
- match: '"""'
pop: true