Skip to content

Allow multiple raw blocks #2

@jneug

Description

@jneug

The content argument for #sourcecode is searched for the first raw element and everything else is ignored.

The function could take all raw elements and render them together in the following manner:

  • If no lang override is given, each raw element used its own lang attribute,
  • all code blocks are put in the same frame,
  • line numbering is continuous through all code blocks.

As an addition, maybe even other content could stay intact, to add comments between code blocks.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions