Commit Graph

85 Commits

Author SHA1 Message Date
Jan Pilzer 7eb21e5524
(docs) make demo page more keyboard accessible (#3371) 2021-11-02 19:12:36 -04:00
Josh Goebel 389245c170
enh(parser) new highlightAll() API (#2962)
Added new `highlightAll()` API which deprecates both:

- `initHighlighting()`
- `initHighlightingOnLoad()`

The new function can be called at any time and will "just work".

- If called after DOM has loaded, it will immediately highlight.
- If called before, it will wait until the DOM finishes loading, then
highlight.
2021-01-19 16:10:37 -05:00
Jan Pilzer 325c734213
enh(website) Simply demo rendering (#2923)
- make demo rendering more static and remove unneeded JS libraries
2020-12-18 16:00:29 -05:00
Jan Pilzer d95f1bc89d
chore(website) Align demo and website styling (#2805)
* Align Demo and Website styling
* Remove a few non-languages from the list (c-like, plaintext, etc)
2020-11-06 16:43:51 -05:00
Josh Goebel e980213f49 chore(build) Build demo with correct script link
- Previously minified JS would always be linked (even if not built)
- Non-minified link will now be used if `--no-minify` is passed

Resolves #2711
2020-09-30 22:03:58 -04:00
Josh Goebel 8965ebe696
(parser) Add basic Vue.js component and examples. (#2544)
- add basic Vue.js component
- add simple usage case to the README
- eat our own dogfood with `tools/developer.html` now using the Vue plugin just for fun
2020-08-05 22:28:30 -04:00
Josh Goebel b64b0081be
New build system (including 3rd party languages) (#2312)
* new build process for brownser/cdn/node
* detect 3rd party languages
* can run markup tests in 3rd party bundles
* can run detect tests for 3rd party bundles
* remove gear/bluebird dependencies
* add readme and license to CDN build
* CDN embeds no languages vs all if no languages are passed in the list
* change lib/highlight to lib/core for requiring the lib
* (chore)package CDN for NPM
* .min now, not .pack

Co-authored-by: Eric Prud'hommeaux <eric+github@w3.org>
2020-02-10 07:51:47 -05:00
Josh Goebel 47b61ae599
enh: add Safe Mode. Better error handling for crashes. (#2286) 2019-11-19 22:13:08 -05:00
Catherine Holloway b15ba32086 adding brief instructions for building the demo 2017-06-14 11:56:05 -04:00
Jeremy Hull 30c1b566d8 Add variable for window height 2016-06-30 22:09:46 -07:00
Jeremy Hull c33d35b293 Add variable for repeat styles selector 2016-06-30 22:09:26 -07:00
Jeremy Hull 6c8cf59b03 Add variable for repeat categories selector 2016-06-30 22:05:29 -07:00
Jeremy Hull 7d075f61ea Add variable for repeat link selector 2016-06-30 22:01:23 -07:00
Jeremy Hull 18440de558 Change the name for the looped over element 2016-06-29 21:41:53 -07:00
Jeremy Hull c668271a14 Remove warnings from jshint
* Using `!==`
* e never being used
2016-06-29 21:35:37 -07:00
Jeremy Hull 5b49223fcb Move repeat language selector into a variable 2016-06-29 21:24:56 -07:00
Jeremy Hull c67e519cca Clean up `initCategories` function 2016-06-29 21:23:24 -07:00
Jeremy Hull c204072b52 Put repeat selectors in initStyles in variables 2016-06-28 22:28:09 -07:00
Jeremy Hull 51eae1b758 Change to jquery function callback
This is the same as `$(document).ready`
2016-06-28 22:13:51 -07:00
Jeremy Hull 5d6a471da7 Add variable for window 2016-06-28 22:13:02 -07:00
Jeremy Hull 60055835dc Add a dollar sign prefix when a jquery object 2016-06-28 22:05:18 -07:00
Jeremy Hull 29bbe02e0b Use strict inside the function namespace 2016-06-28 21:54:46 -07:00
Jeremy Hull 4c0a0beb50 Wrap everything into an anonymous function 2016-06-28 21:54:08 -07:00
Jeremy Hull 0ab7ccac65 Check if there is a Category in the template 2015-05-17 14:52:23 -07:00
Jeremy Hull 3bed8fcdb5 Keep the meta tags as the first tag after the head 2015-05-17 14:39:43 -07:00
Jeremy Hull 4213821b25 Indent the inner body correctly 2015-05-17 14:38:44 -07:00
Jeremy Hull 7af9a1574b Move script tags to the bottom 2015-05-17 14:34:44 -07:00
Jeremy Hull eaafb41aa0 Add missing tags for demo and developer html 2015-05-17 14:20:59 -07:00
Jeremy Hull 7d8a5f2c68 Change to template generated alternate styles
This messes with the proper names used for the styles but it is far more
convenient to not have to worry about adding new styles to the demo each
time.
2015-05-02 21:26:33 -07:00
Jeremy Hull fa47b31af1 Add Github Gist to demo page 2015-05-01 20:51:31 -07:00
Oleg Efimov 2ba35bd602 Merge remote-tracking branch 'atelierbram/Atelierestuary-light'
# Conflicts:
#	demo/index.html
2015-04-08 09:51:36 +03:00
Oleg Efimov c6f4c41745 Merge remote-tracking branch 'atelierbram/Atelierestuary-dark'
# Conflicts:
#	demo/index.html
2015-04-08 09:50:22 +03:00
Oleg Efimov 7bda3453d4 Merge remote-tracking branch 'atelierbram/Ateliersavanna-light'
# Conflicts:
#	demo/index.html
2015-04-08 09:49:13 +03:00
Oleg Efimov 6a8d7bfca2 Merge remote-tracking branch 'atelierbram/Ateliersavanna-dark'
# Conflicts:
#	demo/index.html
2015-04-08 09:48:12 +03:00
Oleg Efimov 6fd6c7ec60 Merge remote-tracking branch 'atelierbram/Ateliercave-light'
# Conflicts:
#	demo/index.html
2015-04-08 09:46:16 +03:00
Oleg Efimov 7da33886ca Merge remote-tracking branch 'atelierbram/Ateliercave-dark'
# Conflicts:
#	CHANGES.md
2015-04-08 09:44:51 +03:00
Oleg Efimov f490bfbc98 Merge remote-tracking branch 'atelierbram/Atelierplateau-light'
# Conflicts:
#	demo/index.html
2015-04-08 09:43:12 +03:00
atelierbram 1f9fd57a7e Atelier Schemes: new colorscheme Estuary Light 2015-04-06 22:52:59 +02:00
atelierbram c6a5c5ef6a Atelier Schemes: new colorscheme Estuary Dark 2015-04-06 22:48:37 +02:00
atelierbram a282b2c40d Atelier Schemes: new colorscheme Savanna Light 2015-04-06 22:44:29 +02:00
atelierbram 2727f6c792 Atelier Schemes: new colorscheme Savanna Dark 2015-04-06 22:39:51 +02:00
atelierbram 6df34ca35c Atelier Schemes: new colorscheme Cave Light 2015-04-06 22:34:37 +02:00
atelierbram ff4f435e1b Atelier Schemes: new colorscheme Cave Dark 2015-04-06 22:30:35 +02:00
atelierbram bef0948e72 Atelier Schemes: new colorscheme Plateau 2015-04-06 22:20:09 +02:00
atelierbram 11ad54db84 Atelier Schemes: new colorscheme Plateau 2015-04-06 22:09:00 +02:00
Ivan Sagalaev edeb264fa4 Working scroll on category change in the demo. 2015-03-31 22:37:03 -07:00
Oleg Efimov 52d35033dc Merge pull request #784 from atelierbram/Atelier-Schemes-Sulpherpool
Added new theme in Atelier-series, Sulphurpool
2015-03-30 22:19:18 +03:00
atelierbram 8ec84af8e4 correct spelling mistake in name 2015-03-17 14:13:03 +01:00
atelierbram 54eded5319 fixed typo, should by Dune, not Dun in title attribute of linked stylesheet 2015-03-16 13:38:11 +01:00
atelierbram 77aa0080bc cleaned out top contribution comment, added styles on demo page 2015-03-16 13:12:44 +01:00