Skip to content

Code blocks without a language lose line breaks #18

Open
@rreusser

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions