Commit Graph
67 Commits
Author SHA1 Message Date
Tony Brix 7d95a91093 fix: Clean up files in repo (#2963)
BREAKING CHANGE:

- remove built files from git repo.
  - If you need to use the latest version of marked on the web you can use a cdn to get marked.min.js from npm:
  - `https://cdn.jsdelivr.net/npm/marked/marked.min.js`
2023-09-09 17:51:42 -06:00
Tony Brix 89ddeec2a0 docs: fix older versions in demo (#2934) 2023-08-11 21:46:54 -06:00
Tony BrixandSteven 71cc7b9d8b docs: update docs (#2928)
Co-authored-by: Steven <steven@ceriously.com>
2023-08-10 21:25:40 -06:00
dependabot[bot]andTony Brix 7d111d8fba chore(deps-dev): Bump eslint-config-standard from 17.0.0 to 17.1.0 (#2837)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony Brix <tony@brix.ninja>
2023-06-06 00:39:57 -05:00
Florian Dreier 72ee2d620a fix: Replace custom repeatString function with repeat() (#2820)
chore: Replace custom repeatString functions with ECMAScript String.repeat()
2023-05-30 17:19:19 -05:00
Wyatt LeFevreandWyatt LeFevre 2d5af8601f clarify dropdown location (#2688)
Co-authored-by: Wyatt LeFevre <wyatt@Wyatts-MacBook-Pro.local>
2022-12-17 11:33:50 -06:00
Tony Brix ff663bc5c5 chore(deps): merge demo options with defaults (#2660)
chore(demo): merge demo options with defaults
2022-11-26 09:35:48 -06:00
Ben McCann 4afb228d95 fix: Convert to ESM (#2227)
BREAKING CHANGE:

- Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead.
- `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead.
- When using marked in a script tag use `marked.parse(...)` instead of `marked(...)`
2021-11-02 09:32:17 -05:00
Tony Brix e8ddad0971 docs: fix demo initial options not loaded (#1983) 2021-03-25 08:51:34 -05:00
Tony Brix a775f1b3f4 chore(demo): add links to other demos (#1852) 2020-11-30 08:47:12 -06:00
Tony Brix c50e39e58a chore(docs): Codeql fixes (#1793) 2020-11-06 08:34:31 -06:00
Steven 9bf1836e00 Fix logo height/width 2020-08-29 18:32:39 -04:00
Tony BrixandSteven f8024eb24d remove ending slash
Co-authored-by: Steven <steven@ceriously.com>
2020-07-13 13:07:46 -05:00
Tony BrixandSteven 524ae66ba6 remove ending slash
Co-authored-by: Steven <steven@ceriously.com>
2020-07-13 13:07:30 -05:00
Tony Brix 2c4b996af7 more quickref.md fixes 2020-06-24 14:34:03 -05:00
Hugh Secker-Walker e516463b7e Update smiley image url 2020-05-19 09:52:15 -04:00
Hugh Secker-Walker e210c87ec3 chore(fix): Fix some problems with demo quickref 2020-05-19 07:24:02 -04:00
Tony Brix ab033f27f3 remove tokenList 2020-04-08 23:57:18 -05:00
Tony Brix be697ff89f fix duplicate array 2020-04-08 23:52:39 -05:00
Tony Brix 808d52e047 fix demo tokens 2020-04-08 23:46:46 -05:00
Tony Brix 6475318eef show items in lexer data 2020-04-02 00:34:08 -05:00
Tony Brix a82d1c6077 update docs 2020-04-02 00:24:21 -05:00
Tony Brix 46e3b17dde update eslint config to fix new standards 2019-08-27 13:22:54 -05:00
Tony Brix c0db64bcf8 lint 2019-07-02 16:28:32 -05:00
Tony Brix 1a1dd43ab1 space-before-function-paren never 2019-05-03 20:59:44 -05:00
Tony Brix bc835ae99e simplify eslint config 2019-05-03 20:59:44 -05:00
Tony Brix d9f22d2726 separate eslint config 2019-05-03 20:59:43 -05:00
Tony Brix 9d2c93e500 fix marked version 2019-04-03 16:47:30 -05:00
Tony Brix f88029a19b use latest commit hash 2019-04-01 09:08:42 -05:00
Tony Brix d4eb3f81b6 use @master 2019-03-29 13:02:04 -05:00
Tony Brix 14da71c5cb clean up more code 2019-02-14 11:52:14 -06:00
Tony Brix 40d65e5582 add loading screen 2019-02-14 11:25:01 -06:00
Tony Brix 5e2d77378c fix startup 2019-02-14 11:18:47 -06:00
Tony Brix f8d2413a08 clean up code 2019-02-14 11:15:42 -06:00
Tony Brix a6f7609438 add pr 2019-02-14 10:43:03 -06:00
Tony Brix a00ae47f3a use worker in ie11 2019-02-14 09:19:14 -06:00
Tony Brix 2cbda35f9d set title to press enter 2019-02-14 00:15:09 -06:00
Tony Brix 862ceead1e select master initially 2019-02-14 00:11:59 -06:00
Tony Brix 0f4ac747a2 add commit input 2019-02-14 00:08:33 -06:00
Tony Brix 3681bcff33 allow version to be a github commit 2019-02-13 18:24:44 -06:00
Tony Brix 9e2c72f64a fix ie11 2019-02-13 18:04:46 -06:00
Tony Brix ab42f86430 add response time 2019-02-13 14:18:15 -06:00
Tony Brix acf9c82388 use worker to prevent dos 2019-02-13 12:16:39 -06:00
Tony Brix 3fe557209a add versions dropdown 2019-02-08 14:11:09 -06:00
Ashton Hunter 0623282915 Add selection options to choose version in demo 2019-02-08 08:28:32 -05:00
Steven 2aeae6dd37 Merge pull request #1360 from aprotim/demo_options_parse_feedback
Demo Page: Give user feedback when "options" is not valid JSON.
2018-10-19 16:01:46 -04:00
aprotim edaddacb12 Options input shouldn't be resizeable
A change in the CSS snuck in from a previous iteration of the demo page options UI. Remove it.
2018-10-19 10:54:11 -07:00
aprotim e9f57d96d9 As usual, fix my lint errors. 2018-10-18 12:17:46 -07:00
aprotim 173eb82d47 Filter complex objects out of JSON defaults. 2018-10-18 12:10:53 -07:00
aprotim cf7fab7051 Load default options in demo
Per @styfle's suggestion, setting the options element's contents to the defaults on load.
2018-10-18 11:02:57 -07:00