Zudoku supports code blocks in Markdown using the Prism.js syntax highlighting library.
Code blocks are text blocks wrapped around by strings of 3 backticks. You may check out this reference for the specifications of MDX.
markdown```jsconsole.log("Every repo must come with a mascot.");```
The code block above will render as:
jsconsole.log("Every repo must come with a mascot.");
Currently, Zudoku supports the following languages for syntax highlighting:
markup
, html
, xml
, svg
, mathml
, ssml
, atom
, rss
ruby
, rb
bash
, sh
, shell
php
json
, webmanifest
java
csharp
, cs
, dotnet
objectivec
, objc
markdown
, md
javascript
, js
typescript
, ts
Language customization is coming soon! See #86