Skip to content

Isolate Code parser from Directives #88

Closed

Description

@Mpdreamz

Today directives and code blocks share the same parser.

This is not a sustainable solution in the long run as code is currently parsed as markdown and then we do some hacks to render the original content.

This issue serves as a reminder to separate the two and ensure code blocks are LeafBlock's in the AST so that its contents are not parsed and treated as a raw string slice.

Activity

  1. added
    authoring
    on Nov 21, 2024
  2. linked a pull request that will close this issueAdd support for code callouts #118on Dec 19, 2024
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

    authoring

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions