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

Support code block tabs in markdown #13

Open
croccifixio opened this issue Apr 28, 2019 · 0 comments
Open

Support code block tabs in markdown #13

croccifixio opened this issue Apr 28, 2019 · 0 comments

Comments

@croccifixio
Copy link
Owner

croccifixio commented Apr 28, 2019

The markdown parser should be extended to support defining code blocks that have tabs.

The rendered HTML should be progressively enhanced, such that at the bare minimum, each tab is instead displayed as a separate code block, Alternatively, a solution that uses radio buttons as tabs could be considered.

The proposed syntax is presented below:

```c
int delay = 30;

```javascript
const delay = 30;

```elixir
delay = 30
```

Each language should also accept a file name as proposed in #11.

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