Comments (1)
Isn't that more a feature of formatting the outputted HTML code blocks itself? Take a look around there and I think you'll see you can add some js to your site that will format them. Then you simply use Markdown to define your code blocks by either indenting one space, or putting it between triple backticks. The advantage of the latter is usually you can tack on the language for that block right there so you can have multi-language formatting (or remove it entirely) per-block.
from pagedown.
Related Issues (20)
- 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.