Comments (3)
Is there any documentation that shows the extensibility points for how to go about adding support for Plantuml?
Unfortunately, no doc, but the diagram extension here should be quite straightforward and the HTML code renderer handling it is here
In general, most of the extensions in the Markdig codebase are easy enough to understand them to develop your own.
from markdig.
Thanks @xoofx for the feedback.
I had a look at the implementations, and they seem simple enough due to the fact that both mermaid and nomnoml has support for rendering the diagrams using a JS library. Support for rendering Plantuml using Javascript is still experimental and based on wasm with some issues that I want to avoid. There are existing libraries for transforming the Plantuml code block into a SVG and was hoping to use the libraries to transform the code block into a div that wraps the rendered SVG. This implies some kind of pre-processing and also the ability to specify the configuration for the plantuml server to use for rendering the SVG.
Do the same extension points still apply given the above mentioned description?
from markdig.
Do the same extension points still apply given the above mentioned description?
You might have to write your own HTML renderer or transform the AST before rendering (e.g transform the codeblock to a HTML block)
from markdig.
Related Issues (20)
- Can I somehow customise math processing? HOT 3
- AlertBlock content not rending properly HOT 3
- Feature-request: Use bootstrap alerts for alert blocks HOT 1
- [Bug?] Possible incorrect parsing in markdig HOT 2
- Support YouTube Shorts embedding
- block certain components?
- How to remove things like CodeBlocks from ToPlainText rendering HOT 2
- Incorrect span calculation for math inline HOT 1
- Single `+` in superscript or subscript HOT 1
- Conversion to HTML does not convert some hyperlinks HOT 2
- Comparing MarkdownDocuments when one has been appended to
- Style rendering is incomplete HOT 2
- Is
- Is there any way to get AutoIdentifiers list? HOT 2
- PipeTable fails to process table when empty code blocks are present HOT 2
- AutoLinks: URL that contain underscore at end are not parsed correctly HOT 2
- Question: What would be the best way to support themes? HOT 1
- Extra space after list item is placing contents in code block HOT 1
- Failure to parse complex media links HOT 1
- angle brackets in footnote are not escaped HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdig.