souvikinator / notion-to-md

Convert notion pages, block and list of blocks to markdown (supports nesting and custom parsing)
https://www.npmjs.com/package/notion-to-md
MIT License
1.09k stars 90 forks source link

Feature: Add language to code blocks #2

Closed dharshatharan closed 2 years ago

dharshatharan commented 2 years ago

I personally use syntax highlighting for code blocks, and having the language specified in the code block is how the syntax highlighting library decides to colours. The language is available in the Notion response, it just has to add it to the markdown.

souvikinator commented 2 years ago

sure I'll push the changes

souvikinator commented 2 years ago

Fixed!