Brian Morearty
91c115d87b
Moved `hljs` class to `<code>` from `<pre>`. ( #913 )
In this change set I am changing the guidance in the README
and in comments to put the class on the correct tag: `<code>`, not `<pre>`.
If you put the `hljs` class on `<pre>`, syntax highlighting
does not use the correct padding.
You can see from the default CSS stylesheet in the highlight.js
repo that the `hljs` tag is expected to be on the `<code>` tag:
84719c17a5/src/styles/default.css (L17-L25)
All the official highlight.js examples have the `hljs` class on `<code>`:
https://highlightjs.org/static/demo/
1 year ago
Eiinu
a2c1f5aade
sample.md: remove deprecated emoji markup ( #921 )
1 year ago
Vitaly Puzrin
064d602c68
Updated highlight.js usage info
- Ref #779
4 years ago
Vitaly Puzrin
425e4a0cb7
Drop makefile
4 years ago
Vitaly Puzrin
4594d94512
Simplify specsplit arguments
4 years ago
Vitaly Puzrin
564de6b249
Deps bump & related updates
4 years ago
Vitaly Puzrin
446bbcf998
Drop bower config
4 years ago
Vitaly Puzrin
a2cf20d3d3
browserify => rollup.js
4 years ago
Vitaly Puzrin
5789a3fe96
Demo: bump highlight.js
5 years ago
Vitaly Puzrin
62f98254b1
Demo quick-fix
5 years ago
Vitaly Puzrin
9133b84195
Dev deps bump
5 years ago
Vitaly Puzrin
8d6461d7e0
Use npm script to build & publish demo
5 years ago
Vitaly Puzrin
1c8a8ac8d2
Use npm script to build & publish doc
5 years ago
Vitaly Puzrin
ab51422d8a
istanbul => nyc
5 years ago
Rory O’Kane
9ceaaa7cd9
In demo, fix text in tooltip of “typographer” option ( #600 )
- Fix spelling of “typographic”
- Use the proper arrow symbol (which is important because using the correct symbols is the point of this option)
5 years ago
Vitaly Puzrin
c36309ef1c
Bump eslint & update CS
6 years ago
Vitaly Puzrin
c93ad3a196
jade => pug
6 years ago
Vitaly Puzrin
9ca589e2f1
babelmark responder + heroku config
8 years ago
Vitaly Puzrin
564bfa8e7d
Fixed highlighter in demo
9 years ago
Vitaly Puzrin
760050edcb
eslint update & code cleanup
9 years ago
Vitaly Puzrin
0e51825a5c
Updated docs builder
9 years ago
Vitaly Puzrin
8c11d9fc8d
Suppressed lint warning
9 years ago
Alex Kocharin
ab36c44864
Update CommonMark spec to 0.24
9 years ago
Vitaly Puzrin
c6d6709c63
Demo: updated highlighter options for explicit langs
9 years ago
Vitaly Puzrin
ddb75866b9
Demo: mpre highlight langs + auto mode + debug info
9 years ago
Vitaly Puzrin
bfce691881
Demo: updated highlighter
9 years ago
Vitaly Puzrin
14eba9197e
Demo: simplify highlighting
9 years ago
Vitaly Puzrin
88c6e0f8e6
Demo: updated highlighting style
9 years ago
Vitaly Puzrin
bf424c8a49
deps update, configs & code cleanup
9 years ago
Steve Dougherty
4350cedde2
sample.md: fix spelling of "subscript" and "superscript"
10 years ago
Vitaly Puzrin
faa802ac5b
More restrictions permalink chars
10 years ago
Vitaly Puzrin
56693b8ffd
highlight.js update in demo
10 years ago
Vitaly Puzrin
6ff6be7b70
Use mdurl for correct permalink encoding
10 years ago
Vitaly Puzrin
858475af7a
Use browserify to build demo
10 years ago
Vitaly Puzrin
404c78290a
Added custom container plugin demo
10 years ago
Vitaly Puzrin
3b4e155a1b
Demo deps update
10 years ago
Vitaly Puzrin
387f3f0a8e
Use externap package for entities data
10 years ago
Alex Kocharin
ab47e3a0c0
Update demo script to use markdown-it@4.x api
10 years ago
Alex Kocharin
4aabd5592e
Use a common class for tokens
10 years ago
Vitaly Puzrin
bf5c585a01
Moved testing CLI script to another location, to avoid confusion. Related to #60 , #9
10 years ago
Kirill Efimov
d8b77c3a17
Sync scroll for preview->src, fix #1
10 years ago
Vitaly Puzrin
61ffca8b67
demo: changed plugin links to right place
10 years ago
Vitaly Puzrin
35c23bc678
Updated demo & sample to better show existing plugins
10 years ago
Vitaly Puzrin
de43d7c559
Demo update for new api
10 years ago
Vitaly Puzrin
c30054fc3a
Improved preset name error reporting
10 years ago
Vitaly Puzrin
96402b5e7b
apidoc: docs update + Renderer info
10 years ago
Vitaly Puzrin
193e94cb61
apidocs: updates + added Ruler docs
10 years ago
Vitaly Puzrin
2a9218cf60
Updated line breaks rendering logic
10 years ago
Vitaly Puzrin
649e87c537
Simplified demo build script, updated GA id
10 years ago
Vitaly Puzrin
c613c792c6
2.1.2 released
10 years ago