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 Markdown Fenced Code Block Grammar #122

Open
optikfluffel opened this issue Feb 2, 2018 · 1 comment
Open

Support Markdown Fenced Code Block Grammar #122

optikfluffel opened this issue Feb 2, 2018 · 1 comment

Comments

@optikfluffel
Copy link
Contributor

I'd love to have syntax highlighting inside markdown code blocks:

```elixir
IO.puts("some output")
```

There is an Example Repo I found in microsoft/vscode#34891, but I just started using VSCode and don't feel confident enough (yet) to open up a PR and give it a try on my own.

sntran pushed a commit to sntran-contrib/vscode-elixir that referenced this issue Feb 26, 2018
Syntax highlighting inside markdown code blocks:

```elixir
Graph.match(
  from person in "Person",
    where: person.age < 32 and person.title == "Developer",
    join: friend in "Person", on: "FRIEND",
    join: fof, on: "FRIEND",
    join: work, on: "WORKED_WITH",
    select: {person.name, friend.name, fof.name, work.name}
)
```

Inspired by https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example
sntran pushed a commit to sntran-contrib/vscode-elixir that referenced this issue Feb 26, 2018
Syntax highlighting inside markdown code blocks:

```elixir
Graph.match(
  from person in "Person",
    where: person.age < 32 and person.title == "Developer",
    join: friend in "Person", on: "FRIEND",
    join: fof, on: "FRIEND",
    join: work, on: "WORKED_WITH",
    select: {person.name, friend.name, fof.name, work.name}
)
```

Inspired by https://github.com/mjbvz/vscode-fenced-code-block-grammar-injection-example
@mtarnovan
Copy link

Has this been fixed? I still don't see syntax highlight in Elixir code blocks in Markdown files. I took a brief look at the commit and I'm not sure if the plantuml references are accidental.

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

No branches or pull requests

3 participants