markdown-new-tab icon indicating copy to clipboard operation
markdown-new-tab copied to clipboard

Syntax highlighting in code blocks

Open anukul opened this issue 5 years ago • 3 comments

Feature request.

def say_hello(name: str):
    print(f"hello {name}!")

say_hello("world")

anukul avatar Aug 12 '19 06:08 anukul

The markdown parser that I'm using currently doesn't support syntax highlighting. Nevertheless, I understand the need for it. I'll maybe look into other parsers that do offer syntax highlighting. Thanks!

plibither8 avatar Aug 12 '19 06:08 plibither8

Looks like there are some extensions:

  • https://github.com/Bloggify/showdown-highlight
  • https://github.com/showdownjs/prettify-extension

anukul avatar Aug 12 '19 06:08 anukul

Yup, I just got to know about the first one! I'll take a look at them :)

plibither8 avatar Aug 12 '19 06:08 plibither8