|
b0d1823c
|
2018-12-01T21:24:31
|
|
Clean up Previewers' page (#1630)
This PR makes some changes to the [Previewers plugin's page](https://prismjs.com/plugins/previewers/).
1. Format the code examples to look nicer.
2. Fix the example of the 'Disabling a previewer' section.
3. Highlight API snippets as JavaScript.
|
|
4b56f3c1
|
2018-08-19T16:33:54
|
|
Fixed Previewers bug #1496 (#1497)
The problem was a bug unique to Firefox which causes offsetTop of span.token
to always be 0 under certain conditions. It only occurred together with of the
line-number plugin because setting position: relative for the pre > code elements
triggers that FF bug.
The offset is now calculated using bounding boxes.
Tested in Chrome, Edge, IE, FF, and Opera.
Fixes #1496.
|
|
d95f8fb4
|
2018-04-22T15:55:38
|
|
Use rel="icon" instead of rel="shortcut icon" (#1398)
|
|
95146c8f
|
2018-04-17T01:28:42
|
|
Use HTTPS / canonical URLs (#1390)
Also, remove the broken link in `/index.html`.
|
|
28e4b4c6
|
2018-01-16T08:48:08
|
|
Previewers: New plugin combining previous plugins Previewer: Base, Previewer: Angle, Previewer: Color, Previewer: Easing, Previewer: Gradient and Previewer: Time. Fix #913 (#1244)
|