Skip to content

Add highlight syntax to code blocks in blog posts

Quoc Huy Nguyen Dinh requested to merge syntax-highlights into develop

Closes #115 (closed)

Notes:

  • I've created another PR for supporting GIST embed: !238 (merged)
  • Merging this will add 270KB+ to the JS payload but will support syntax highlighting for existing posts using
  • Please assess the need, if adding extra weight to the JS bundle is not worth it then reject this MR.

Can be tested on: https://hivean.com/hive-169321/@mahdiyari/making-a-decentralized-game-on-hive-part-5

Screen_Shot_2021-04-15_at_2.47.54_pm

Nightmode: Screen_Shot_2021-04-16_at_7.07.46_pm

Edited by Quoc Huy Nguyen Dinh

Merge request reports

Loading