Giancarlo Klemm Camilo
2795518340
enhance: scrollable + downloadable HighlightCode (#4397)
* Auto hidding content that is longer than 600 characters long.
* Added basic downloading
Slightly broken
* Better downloading
now downloads file on button click
* Fix the angry linter
* Fix dist
* Removed collapsing, added scrolling.
* Code clean up.
* CSS fix.
* prevent HighlightCode from scrolling entire document
* center "Download" text in button
* `this.downloadJSON` -> `this.downloadText`
we're always saving as `.txt`, so JSON is a misnomer
* hide Download button behind option `downloadable` prop
* `file-saver` -> `js-file-download`
2018-04-12 18:18:49 -07:00
..
2018-04-12 18:18:49 -07:00
2018-04-04 18:55:10 -07:00
2018-04-09 15:58:52 -07:00
2018-04-10 16:05:17 -07:00
2017-03-17 21:17:53 -07:00
2017-08-10 18:26:45 -07:00
2018-02-09 19:39:43 -08:00
2018-02-23 01:12:53 -08:00
2017-10-25 09:39:40 +02:00
2017-06-29 04:37:19 +02:00
2018-01-05 21:45:21 -06:00
2018-04-09 15:58:52 -07:00
2017-06-08 15:59:41 -07:00