fletcher / fletcher/MultiMarkdown-6

Multiple languages within one code block?

Open
#176 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
678
Forks
94
PR merge metrics
No merged PRs in 30d

Description

As far as I understand it currently it isn't possible to have multiple languages within one code block.

Maybe multimarkdown can support this by differentiating between these scenarios?

Case 1:

```lang1
foo <- bar()
```
```lang2
xxx = zzz
```

Case 2:

```lang1
foo <- bar()
```

```lang2
xxx = zzz
```

In the first case there is no empty line between the code blocks - so they will be placed within the same `pre` with different code classes. In the second case there is a space and so different code blocks would be in their own `pre` elements.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.