Add support for highlighting python based on the nix highlighter.
This commit is contained in:
@@ -63,6 +63,13 @@ render!(RenderSrcBlock, ISrcBlock, original, render_context, {
|
||||
.unwrap()
|
||||
.include_css("language_nix.css")?;
|
||||
}
|
||||
Some("python") => {
|
||||
render_context
|
||||
.dependency_manager
|
||||
.lock()
|
||||
.unwrap()
|
||||
.include_css("language_python.css")?;
|
||||
}
|
||||
_ => {}
|
||||
};
|
||||
Ok(RenderSrcBlock {
|
||||
|
||||
Reference in New Issue
Block a user