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

Best way to italicize? #579

Closed
scho66 opened this issue May 14, 2015 · 2 comments
Closed

Best way to italicize? #579

scho66 opened this issue May 14, 2015 · 2 comments

Comments

@scho66
Copy link

scho66 commented May 14, 2015

Hi, sorry not really an issue, but I'm looking for an easy way to italicize keywords within my code. I tried embedding tags, but they just get ignored (don't even show in document tree once loaded).

Anyone know hot to italicize within the code? thanks

@uranusjr
Copy link
Contributor

See #558.

@LeaVerou
Copy link
Member

LeaVerou commented Jun 5, 2015

If you mean existing keywords. you can just do .token.keyword { font-style: italic; } in your CSS.
If you mean keywords that are not highlighted in the language, you can use the API, but I will need more details to provide a code example (e.g. what language are you using?)

Golmote added a commit to Golmote/prism that referenced this issue Sep 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants