grapegrip / wool

Preview Github Markdown Offline
Other
44 stars 5 forks source link

`diff` language is not supported #10

Open poliorcetics opened 3 years ago

poliorcetics commented 3 years ago

Github supports code blocks with diff as the language, like so:

/// See [`Rotation`]
///
- /// [`Rotation`]: struct.Rotation.html

- /// See [`Rotation`](struct.Rotation.html)
+ /// See [`Rotation`]

This is not the case on the published version of `wool, it is possible to add it ?

grapegrip commented 3 years ago

Ah, this seems because Prism uses a separate plugin. Try adding the script to template.rs.