Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Preview vs Present #47

Description

@SGStino

There seems to be an issue where the server side code renders markdown differently than the client side javascript code?

it renders the markdown with the html <span class="hljs-built_in">...</span> readable.

Markdown:

```sh
mkdir my-repository
cd my-repository
git init

Present&Preview:

<pre><code class="lang-sh hljs bash">mkdir my-repository
&lt;span class=<span class="hljs-string">"hljs-built_in"</span>&gt;<span class="hljs-built_in">cd</span>&lt;/span&gt; my-repository
git init
</code></pre>

Preview generated & updated after editing

<pre><code class="lang-sh hljs bash">mkdir my-repository
<span class="hljs-built_in"><span class="hljs-built_in">cd</span></span> my-repository
git init
</code></pre>

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