Huachao / vscode-restclient

REST Client Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=humao.rest-client
MIT License
5.31k stars 445 forks source link

Add syntax highlighting to markdown with `http` language #574

Open erichiller opened 4 years ago

erichiller commented 4 years ago

Proposed new feature is to add highlighting to Markdown files. Like:

header: value

note: that it's a triple backtick code block.

I've already modified the extension locally to enable this feature, let me know if you'd accept a pull request?

Huachao commented 4 years ago

@erichiller Sure, any PR is warmly welcomed 😄

Huachao commented 4 years ago

@erichiller any updates on this? It seems we should update the Markdown extension in VSCode repository

QuAzI commented 2 years ago

@Huachao looks like HTTP language already reserved https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md

Right now Send Request present for http and rest but syntax highlighting works a bit different. Almost doesn't work. image

Can you change internal name for REST Client to REST instead of HTTP? Maybe it can help to bypass conflicts with default langs