Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The toml code block highlight is wrong #1417

Closed
wsdjeg opened this issue Jan 29, 2020 · 1 comment · Fixed by #1419
Closed

The toml code block highlight is wrong #1417

wsdjeg opened this issue Jan 29, 2020 · 1 comment · Fixed by #1419
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@wsdjeg
Copy link

wsdjeg commented Jan 29, 2020

Name of the lexer
the toml code hight is wrong.

Code sample

put following code into markdow file, then generate the page.

[[layers]]
    name = 'lang#ring'
    ring_repl = 'D:\ringrepl\repl.ring'

Screenshots

toml

Additional context

Literal strings are surrounded by single quotes. Like basic strings, they must appear on a single line:

# What you see is what you get.
winpath  = 'C:\Users\nodejs\templates'
winpath2 = '\\ServerX\admin$\system32\'
quoted   = 'Tom "Dubs" Preston-Werner'
regex    = '<\i\c*\s*>'

there is no escaping in this string.

@wsdjeg wsdjeg added the bugfix-request A request for a bugfix to be developed. label Jan 29, 2020
@pyrmont
Copy link
Contributor

pyrmont commented Feb 1, 2020

@wsdjeg Thanks for the bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants