Comments (1)
Sorry for my late reply.
So - it is possible to implement this with the current maddy version. It would need a new Block Parser (IndentedCodeBlockParser) - that one would have to check for the number of spaces at the beginnings of the line and should not directly stop on an empty line, but only if the line afterwards is not an indented block anymore. For that maybe also the Parser class would need to be able to go over one line twice - or the parsers need to be able to get a look-ahead.
Another solution would be to stop the IndentedCodeBlockParser only after two empty lines.
from maddy.
Related Issues (18)
- Local image to data URI? HOT 1
- squash appveyor commits HOT 3
- Underscores in link URL translated to <em> tag HOT 5
- Failing to build via cmake HOT 1
- Issue with parsing HOT 4
- latex support? HOT 3
- Parser fail to find a list if it is not explicitly in its own paragraph HOT 3
- About codeblock parser problem and solution HOT 1
- [Enhancement] replace std::regex with a faster regex engine (like re2). HOT 2
- Add further configuration options to disable particular parsers HOT 3
- Support backslash for escaping HOT 1
- [Bug][C++]: parser.h VERSION() functions exposed without namespace creates multiple libraries incompatibilities HOT 1
- [Bug][Markdown]: My markdown is not being parsed correctly HOT 4
- Much slower than MD4C HOT 3
- Nor parsing table HOT 1
- Maddy performance HOT 1
- Vcpkg support HOT 2
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 maddy.