Closed ldez closed 8 years ago
Nice job!
Mark without a role becomes the mark element in HTML, which appears as highlighted text. Would it be possible to style it that way in the theme? (basically by reversing the background and foreground colors).
Like that ? :smile:
[role role2]##foo## bar
[.role#id]##foo## bar
##foo## bar
#foo# bar
Yes! \o/
I think we're in good shape. @nicorikken, what say you?
Somehow I haven't been able to get the highlight to work under my theme. But syntax highlighting looks good. LGTM!
I have try with different themes, which theme are you using ?
I tried Seti, Atom One Dark, Atom One Light.
one-dark:
one-light:
seti:
Apparently I did not check with the latest code. Now it does work properly 👍
Description
http://asciidoctor.org/docs/user-manual/#custom-styling-with-attributes
Syntax example
Screenshots