Comments (3)
Thanks for the repro, indeed, it's not working at all 😅
The issue is in ProcessInlines.ProcessInlines
that maintain the stack of the blocks being processed, as we are changing from an inline expansion the parent block, the loop doesn't pick-up the new parent, and as we removed all children from the QuoteBlock (replaced by an AlertBlock), then it exits the loop (and doesn't process the AlertBlock because it is not in the stack of the element being processed by the loop)
Gonna have to think about how to proceed. e.g It might not be a good idea to change the structure of blocks while parsing inlines, so I might have to remove AlertBlock and add attributes to the QuoteBlock.
from markdig.
Temporary fix 6549d3b until this is revisited. The fix is not ideal, so for now I kept the code internal.
from markdig.
Temporary fix 6549d3b until this is revisited. The fix is not ideal, so for now I kept the code internal.
I'll also take a look into it. Thank you once again 🙇
from markdig.
Related Issues (20)
- Add support for GitHub Markdown Alerts HOT 3
- PipeTableParser strip opening and ending characters HOT 1
- Using context for extensions HOT 4
- Can I somehow customise math processing? 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
- Conversion to HTML does not convert some hyperlinks HOT 2
- Comparing MarkdownDocuments when one has been appended to
- Style rendering is incomplete HOT 1
- 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
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.