Comments (2)
H4-H6 work fine.
I suppose you're using the sanitizer plugin, which only whitelists H1-H3, so
H4-H6 will be killed. They're created just fine by the Markdown converter,
though.
The tag whitelist is exactly the one we use on Stack Exchange. If you want to
allow more or different tags, you'll have to change the whitelist (search for
"basic_tag_whitelist").
Original comment by [email protected]
on 20 Feb 2012 at 9:21
- Changed state: Invalid
from pagedown.
Well this was very non-obvious
Original comment by [email protected]
on 30 Sep 2014 at 2:50
from pagedown.
Related Issues (20)
- Syntax highlight for source code HOT 1
- Feature request: tables
- Order of attributes on a HTML img tag can break preview rendering
- "Add heading" with no selected text doesn't add heading.
- Markdown.Sanitizer removes <a href= and <img src= tags referencing relative paths
- Patch for /PageDown.wiki
- Patch for /Markdown.Converter.js
- sanitizeHtml() stripping images with apostrophes in URL - Regex modification required
- Link dialog hook
- Equations with MathJax
- Disable specific markdown elements
- Question: is this the official copy of code.google.com/p/pagedown? HOT 4
- About the version tag
- How can I trigger a rerender from Javascript HOT 1
- Commonmark support.
- Add a README.md HOT 2
- Enhancement: Add option to suppress wrapping content with <p></p>
- Code blocks end up in a single line HOT 2
- Disable "smart" undo?
- Possible REDOS vulnerabilities
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 pagedown.