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

Render <pre><code> constructs as fenced code blocks #11

Open
martin-martin opened this issue Sep 16, 2020 · 1 comment
Open

Render <pre><code> constructs as fenced code blocks #11

martin-martin opened this issue Sep 16, 2020 · 1 comment

Comments

@martin-martin
Copy link

martin-martin commented Sep 16, 2020

Markdown that uses backticks to indicate code blocks instead of indentation has the advantage that it is very easy to add language-identifier information to it, e.g.:

```python
print("hello")
```

Is there an option to convert <pre><code> HTML into fenced code blocks, or would you be interested to add it?

@martin-martin martin-martin changed the title Render <code><pre> constructs as fenced code blocks Render <pre><code> constructs as fenced code blocks Sep 17, 2020
@martin-martin martin-martin reopened this Sep 17, 2020
@martin-martin
Copy link
Author

Wrote a possible adaptation for this in #13

Hope this is helpful and makes sense, happy for any feedback and comments

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

1 participant