Skip to content

Example in README.md doesn't work. #53

Description

@tobiaspatton-s4

The example given:

<btf-markdown>
  #Markdown directive
  *It works!*
</btf-markdown>

renders as HTML:

<pre><code>#Markdown directive
*It works!*
</code></pre>

But, I believe the intention is that it should render as:

<h1 id="markdowndirectiveitworks">Markdown directive<em>It works!</em></h1>

The reason that it renders as <pre><code>...</pre></code> is because the lines inside the HTML element are prefixed with four spaces.

The example should read:

<btf-markdown>#Markdown directive  *It works!*</btf-markdown>

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