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

Keep tabs in code blocks #137

Open
grigorye opened this issue Sep 8, 2011 · 1 comment
Open

Keep tabs in code blocks #137

grigorye opened this issue Sep 8, 2011 · 1 comment

Comments

@grigorye
Copy link

grigorye commented Sep 8, 2011

Here's my story: I would like to highlight tabs in code blocks, for documentation purposes (I'm documenting coding style). But unfortunately there's nothing to highlight - the tabs are removed during html generation. :-)

Btw, I accomplish highlighting via highlight.js (http://softwaremaniacs.org/soft/highlight/en/), that itself might be of interest for integration into appledoc (it supports Objective-C and integration is just a matter of referencing .css and .js from .html), though it confronts "no highlighting for code" in Apple documentation.

@tomaz
Copy link
Owner

tomaz commented Sep 14, 2011

Removal of tabs is something that happens inside Markdown processor, although doable, it's "hidden" in low-level third-party C code. Might be simpler to just post-process spaces to tabs after converting to html by searching for all code/pre blocks. I'll keep this as a feature request.

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