MarketingPipeline / Markdown-Tag

Render Markdown to HTML on any website using a md tag
GNU General Public License v3.0
416 stars 20 forks source link

[Feature Request / Suggestion]: Support code syntax highlighting for GFM #6

Closed jcubic closed 2 years ago

jcubic commented 2 years ago

Suggestion / Feature Request

It would be nice to have support for syntax highlighting:


```javascript
function foo() {
}

as

```javascript
function foo() {
}

You can use PrismJS for that. You can use it as an external dependency that need to included on the page.

MarketingPip commented 2 years ago

This is actually on the to-do list! If you are willing you are willing to take a jab at adding current support - feel free. But waiting to see if another user is willing to commit their fork. As I do believe it has this feature already! :)

Thank you for your input tho @jcubic

ps; happy friday!

MarketingPip commented 2 years ago

@jcubic - this request has been fulfilled. Keep posted to the repo to see the reflected changes on all version's!

Sorry for any delay & hoping you had a great weekend :+1:

ps; don't forget to share Markdown Tag with your friends & family etc. :smile:

jcubic commented 2 years ago

Awesome. Thanks.