Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse code blocks in Markdown #16

Open
rikhuijzer opened this issue Nov 11, 2021 · 1 comment
Open

Parse code blocks in Markdown #16

rikhuijzer opened this issue Nov 11, 2021 · 1 comment

Comments

@rikhuijzer
Copy link
Owner

Issue by @AbhimanyuAryan.

Currently, Markdown with embedded code blocks are not parsed correctly. For example,

md"""
Lorem ipsum:

```julia
julia> x = 1
1

julia> x + 1
2
```
"""

does not become a code block in the output

@AbhimanyuAryan
Copy link
Contributor

it becomes

<div class="markdown"><pre><code class="language-julia"> julia> x = 1 .... </div>

I idea is to control <pre> to output something like <pre class="mangoes"> @rikhuijzer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants