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

Change the default code highlighting ? #70

Closed
FrancescoFilippi opened this issue Mar 2, 2018 · 3 comments
Closed

Change the default code highlighting ? #70

FrancescoFilippi opened this issue Mar 2, 2018 · 3 comments

Comments

@FrancescoFilippi
Copy link

Is it possible to change the default code highlighting and use, let's say, something like the github markdown (light grey box included)?
E.g.

mood = 'happy'
if mood == 'happy':
    print("I am a happy robot")
@tompollard
Copy link
Owner

tompollard commented Mar 2, 2018

I think this may have been implemented by @tobiasbueschel in #36. The pull request has been sitting around for an embarrassingly long time, so I'll take a look in the next day or two.

tompollard added a commit that referenced this issue Mar 2, 2018
@tompollard
Copy link
Owner

@FrancescoFilippi see page 6 of: https://github.com/tompollard/phd_thesis_markdown/blob/master/output/thesis.pdf

Thanks go to @tobiasbueschel for this

(Tobias, I didn't directly merge because git complained: "Patch is empty. Was it split wrong?", so sorry the commits aren't in your name. )

@FrancescoFilippi
Copy link
Author

Looks really good!
I'll definitely try to add another custom language syntax highlighting. Maybe open a pull request if I'll succeed.

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