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

Tab Replacement #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Tab Replacement #328

wants to merge 1 commit into from

Conversation

i-am-tom
Copy link

This PR was submitted in 2011 to change the default code output's tab width to 2. Now that Pygments is no longer used, the change has been removed and the default has gone back to 8 spaces.

I've added the highlight.js config to do the equivalent of that Pygments PR. I'm not sure on docs convention, so let me know if you want the text to be changed :)

Currently, the default tab width is 8. There’s an option within
highlight.js to set a tab replacement, which I’ve set to 2 spaces.
Changes have been made to run the post-processing as specified in [the
docs](http://highlightjs.readthedocs.org/en/latest/api.html#fixmarkup-va
lue)
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

Successfully merging this pull request may close these issues.

1 participant