Help with custom renderer #304
Unanswered
jonathan-taylor
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Yeh you need to create a small python package, that you can [tool.flit.entrypoints."myst_nb.mime_reneder`"]
myrenderer = "mypackage:MyRenderClass" |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to make a custom renderer that treats some code cells with specific tags different than a usual code cell, i.e. treats its outputs differently in the render process.
It seems like extending CellOutputRendererBaseABC should do it (which I can probably figure out how to do). My question is mostly how to insert such a custom renderer in the entry_points()['myst_nb.mime_render'] group -- tried looking around for other related entry point manipulation example but could not find one...
Beta Was this translation helpful? Give feedback.
All reactions