Skip to content

Custom renderes #203

Answered by NiklasRosenstein
ariG23498 asked this question in Q&A
Discussion options

You must be logged in to vote

Oh my, how has this slipped through the cracks until now. Sorry delaying the response almost up to a year 😿

Custom renderer

@ariG23498 To your first question

Is it possible to implement the interface for rendered plugins and then use the custom renderer in the configuration?
Eg. Let's assume I make a custom_markdown.py that implements the renderer plugin. Later we could possibly do

We're in Pydoc-Markdown 4.x now, but I think the same was also possible in Pydoc-Markdown 3x back in 2019. The steps needed to make this work are

  1. Make sure the source file for your custom renderer can be found by the Python interpreter (for example by setting PYTHONPATH)
  2. Reference your renderer in the Pydoc-…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by NiklasRosenstein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #165 on August 16, 2021 21:23.