Comments (26)
👍
from parsedown-extra.
Is this feature something on the Parsedown Extra roadmap for implementation?
It is. I've been working on it.
from parsedown-extra.
Yessss, fantastic. Thank you!
from parsedown-extra.
+1
This would be a great feature! its one of the few things missing from what I can tell!
Thanks!
from parsedown-extra.
+1
Do want.
from parsedown-extra.
+1
from parsedown-extra.
Great, thanks !
from parsedown-extra.
Is there any actual roadmap? This and https://michelf.ca/projects/php-markdown/extra/#spe-attr would be great..
from parsedown-extra.
+1
from parsedown-extra.
+1
from parsedown-extra.
One caveat. The contents of script tags should never be parsed.
from parsedown-extra.
+1
from parsedown-extra.
The latest commit (7578fe2) tries to address this. It is not a complete solution. It won't work on nested tags and, since I haven't had much time to test it or write tests for it, I can't guarantee it's stable.
from parsedown-extra.
+1
from parsedown-extra.
@erusev - now that you have added this, it seems to working properly!!! Thank you so much for adding this feature to Parsedown Extra!!!!!!
from parsedown-extra.
+1 for nested tags support
from parsedown-extra.
+1
from parsedown-extra.
+1!
When this is nested is another HTML node, it doesn't work:
<div>
This is *true* markdown text.
<div markdown="1">
This is *true* markdown text.
</div>
</div>
Try it on http://parsedown.org/extra/
from parsedown-extra.
I have the same need too.
from parsedown-extra.
We are working on it.
from parsedown-extra.
Thanks ;)
from parsedown-extra.
+1
from parsedown-extra.
I believe that the latest release resolves this.
from parsedown-extra.
Awesome!! Thanks so much!! I'm gonna update now! 👍
from parsedown-extra.
Ok, it does work for tags that are nested in tags that have markdown=1, but it still doesn't work for tags that are nested in tags that don't have it.
I'm reopening this.
from parsedown-extra.
Ok, now it should always work.
from parsedown-extra.
Related Issues (20)
- Undefined index: text HOT 4
- Paragraphs/HTML blocks may disappear in HTML block with markdown="1" HOT 3
- ParsedownExtra.php and tests classes are declared as psr-0 in composer.json but are not compliant with psr-0 HOT 11
- Bug: Uninitialized string offset: 1
- Footnote HTML is double-escaped when safe mode is on HOT 1
- Can't embed video HOT 1
- The Footnotes stop working
- I'm getting this while composer update/install HOT 2
- Multiline blockquotes not rendering correctly in multiline footnotes
- Multiple blockquotes HOT 1
- Video HTML tag does not work
- Parsing special attributes {lang=fr} are not parsed HOT 1
- List Item is dropping text that follows a custom tag HOT 2
- PHP 8.2: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated HOT 2
- Wrap image inside div - not working
- Demo broken? HOT 5
- Add support for PHP 8.2 HOT 2
- Deprecated: Use of "self" in callables is deprecated HOT 1
- Should we start looking for alternatives? Is this repo alive? HOT 1
- Deprecated: Use of "self" in callables is deprecated
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 parsedown-extra.