Vitaly Puzrin
94177fca70
standard: spaces in comments
12 months ago
Vitaly Puzrin
7dfcf69b71
standard: no spaces near array brackets
12 months ago
Vitaly Puzrin
0eb4cb96a4
standard: space before function params
12 months ago
Vitaly Puzrin
d0219010ad
standard: remove semi
12 months ago
Vitaly Puzrin
88b8669c46
var => const, let
12 months ago
Vitaly Puzrin
01db29c4b7
Cleanup demo
1 year ago
Vitaly Puzrin
737c95a129
Fix demo build
1 year ago
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
Vitaly Puzrin
064d602c68
Updated highlight.js usage info
- Ref #779
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
c36309ef1c
Bump eslint & update CS
5 years ago
Vitaly Puzrin
564bfa8e7d
Fixed highlighter in demo
9 years ago
Vitaly Puzrin
760050edcb
eslint update & code cleanup
9 years ago
Vitaly Puzrin
8c11d9fc8d
Suppressed lint warning
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
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
Vitaly Puzrin
faa802ac5b
More restrictions permalink chars
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
Alex Kocharin
ab47e3a0c0
Update demo script to use markdown-it@4.x api
10 years ago
Kirill Efimov
d8b77c3a17
Sync scroll for preview->src, fix #1
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
c613c792c6
2.1.2 released
10 years ago
Vitaly Puzrin
94eb7f0b42
Use twemoji for demo
10 years ago
Vitaly Puzrin
cdf0e2b1f5
Added emojies to demo
10 years ago
Vitaly Puzrin
fe97753ff6
Refactored demo
10 years ago
Vitaly Puzrin
c3bd40ab04
Configs & code cleanup
10 years ago
Vitaly Puzrin
9afffbaefd
Changed project name, links, attribution & updated constructor call
10 years ago
Vitaly Puzrin
357ce955a8
Demo: js cleanup
10 years ago
Vitaly Puzrin
00aa9a9a53
Demo: Added IE8 support. Just for fun
10 years ago
Vitaly Puzrin
c42fc6bbfe
Optimized result tabs update & added comments
10 years ago
Alex Kocharin
9faf0adefb
Implement synchronous scrolling in demo
10 years ago
Vitaly Puzrin
761947f2fb
More safe properties check
10 years ago
Vitaly Puzrin
a75604569c
Added debug view to demo
10 years ago
Vitaly Puzrin
fbdcf4a595
grammar/typo fixes (manually imported from #65 )
10 years ago
Vitaly Puzrin
fca1de57ee
Docs update
10 years ago
Vitaly Puzrin
d02fc8a32b
base64 encode demo permalinks to avoid broken content for github postings
10 years ago
Vitaly Puzrin
46a71bc150
Demo: output html highlight + minor style updates
10 years ago
Vitaly Puzrin
f300ed0ca5
Updated demo styles and docs
10 years ago
Vitaly Puzrin
9ddf69ed1d
Demo defaults update
10 years ago
Vitaly Puzrin
f17ce5a663
Added strict commonmark option to demo
10 years ago
Vitaly Puzrin
e52196d10e
Demo update
10 years ago