Skip to content

Indent MyST Markdown examples #52

Closed as not planned
Closed as not planned

Description

@chrisjsewell

Indenting nested directives (see executablebooks/MyST-Parser#493 (comment)) will make the examples more readable

I guess the only thing is that this won't "work" with colon-fence's intended purpose; to have CommonMark renderers render the internal Markdown

Activity

  1. added
    documentation
    on Jan 10, 2022
  2. chrisjsewell commented on Nov 10, 2026

    @chrisjsewell
    MemberAuthor

    Closing: indenting the nested colon fences would stop the examples rendering sensibly in plain CommonMark viewers (the point of colon fences), and fences only tolerate up to 3 spaces of indentation. The examples stay flat, with increasing colon counts marking the nesting.

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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions