Skip to content

Code blocks without a language lose line breaks #18

@rreusser

Description

@rreusser

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions