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 extra css class to the output of code #531

Open
findmyway opened this issue Jun 19, 2020 · 1 comment
Open

Add extra css class to the output of code #531

findmyway opened this issue Jun 19, 2020 · 1 comment

Comments

@findmyway
Copy link
Contributor

This will allow users to apply different css style to distinguish the input and output of code snippets, and maybe even add numbering to each code snippets.

I guess modifying

reproc || return html_code(output)
a little would be enough?

@tlienart
Copy link
Owner

Probably just adding a keyword argument to html_code should be enough; I’ll look into it, thanks for bringing this up! And if we want to add numbering to executable cells as well as output then we should also add a class to those, same process though, not very hard :)

@tlienart tlienart added this to the 0.10 milestone Aug 31, 2020
@tlienart tlienart added the wip label Aug 31, 2020
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