Skip to content

Support Markdown fenced code block inception #697

Open
@ccoVeille

Description

@ccoVeille

Here is a an example

This

```console
$ pwd
/tmp
```

is rendered like this

$ pwd
/tmp

But to render the first block like this

```console
$ pwd
/tmp
```

I had to write this

````markdown
```console
$ pwd
/tmp
```
````

This format is used frequently in documentation to explain how to document things.

I would like at least that block starting with more than 3 backticks are interpreted the right way

So at least this should be detected by mdsf

````console
$ pwd     |      fgrep     tmp
/tmp
````

It's used frequently

https://github.com/search?q=%22%60%60%60%60shell%22+language%3AMarkdown+&type=code

The inception of formatting what is quoted inside another one might be not fun to achieve.

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