Skip to content

figure out how to allow blocks in sidenotes #5

Description

@kylrth

<p> tags can't have blocks inside them. It causes the browser to close the paragraph, leading to ugly behavior in the block. This means that code blocks break the sidenote <span> with extra </p> tags. This is mentioned here. A potential solution is to include sidenotes after the paragraph ends and use a separate shortcode for the in-text reference (working from something like this), but this breaks the highlighting functionality as it currently works.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions