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

Add syntax-highlighting to code samples on ReactiveX web pages #103

Open
DavidMGross opened this issue Mar 6, 2015 · 1 comment
Open

Comments

@DavidMGross
Copy link
Collaborator

I'm not sure if we can leverage something in the CSS / site generation we're already working with or if we'd need to pull in some additional CSS/JS to make this work.

Most of what is in the operator pages, including the sample code sections, is in HTML rather than markdown, although those pages go through the markdown->html generator like the rest of them, so maybe we could leverage that.

The code sample sections are currently marked with <div class="codelanguageName"> in anticipation of being able to accomplish this at some point.

@flatmap13
Copy link
Collaborator

Perhaps we can use the code snippets mechanism that I've added in the snippets branch for this? This was mentioned in #99, I'm also working on the improvements that @samuelgruetter suggested.

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

2 participants