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

inline language code highlight #96

Open
kwladyka opened this issue Apr 10, 2016 · 5 comments
Open

inline language code highlight #96

kwladyka opened this issue Apr 10, 2016 · 5 comments

Comments

@kwladyka
Copy link

Hi,

I am using cryogen and want to highlight also inline code.

Like for example i want write:
So what (swap! foo-atom inc) really do?

Why no option to show that as Clojure code like

(swap! foo-atom inc)

Can we add something like that? How can i achieve that?

@yogthos
Copy link
Owner

yogthos commented Apr 10, 2016

There isn't any standard markdown syntax for doing inline language hints. One option would be to make a custom transformer to handle that case.

@kwladyka
Copy link
Author

I found this link http://stackoverflow.com/questions/23226224/inline-code-syntax-highlighting-in-github-markdown

Do you think (def foo "bar"){clojure} or something like that make sense for your repository? Or i should care about that on my own independent?

@yogthos
Copy link
Owner

yogthos commented Apr 11, 2016

Yeah, I'd be ok with using GitHub flavored md extension. If you're up for doing a pr, I can help with that. Otherwise, I'll take a look when I have some free time.

@kwladyka
Copy link
Author

Great. I will do it also in my free time :) So we will see who will be first :)

@yogthos
Copy link
Owner

yogthos commented Apr 11, 2016

Sounds like a plan :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants