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

Code blocks without a language lose line breaks #18

Open
rreusser opened this issue Jan 6, 2016 · 0 comments
Open

Code blocks without a language lose line breaks #18

rreusser opened this issue Jan 6, 2016 · 0 comments

Comments

@rreusser
Copy link
Member

rreusser commented Jan 6, 2016

See, e.g. pseudocode blocks at http://scijs.net/packages/#scijs/ndarray-gram-schmidt-qr-complex

Blocks without a language seem to lose line breaks. ./highlight.js has:

function highlight (code, lang, done) {
  if (!lang) return done(null, code)

So maybe bailing out with a no-op fails to massage the data correctly?

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

1 participant