Commit graph

11 commits

Author SHA1 Message Date
Luke Boswell
1590b30b19
Add a lexing-based 'highlight' mode to the parser
basic syntax highlighting

added more syntax highlighting coverage

add example of a markdown table with styling

move FIXED_TOKEN logic into highlight

refactor highlight, add support for backpassing

escape html from source code

fix bug with <pre> tag ordering

refactor out html from roc_parse

remove test, put highlight functionality into separate file

fix typo
2023-02-28 17:03:49 +11:00
Anton-4
0d58a7cf8a
example.org is better 2022-10-15 14:28:56 +02:00
Anton-4
eb727bd8b0
fixed links, minimal exceptions
Replaced lorem ipsum links with links to roc-lang. All exceptions added are due to problems with those sites and their interaction with programs like curl
2022-10-15 14:25:03 +02:00
Anton-4
f7dd5ca708
replace random links with roc-lang.org
random links are generated by the lorem ipsum generator, we don't want to allow a bunch of random links in the repo for security purposes.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-10-15 12:21:59 +02:00
Brian Carroll
c21a6cb67c
static-site-gen: New example using lorem ipsum content 2022-09-05 20:46:53 +01:00
Brian Carroll
aeac8035c1
Delete example (open license is for markdown not for the site) 2022-09-05 18:43:32 +01:00
Brian Carroll
be245a8ede
static-site-gen: fix typos 2022-09-04 19:10:25 +01:00
Brian Carroll
ce357db270
static-site-gen: make the nav links nicer 2022-09-04 16:43:44 +01:00
Brian Carroll
e15ed9c846
static-site-gen: Replace hello.txt with a copy of John Gruber's website 2022-09-04 16:41:43 +01:00
Brian Carroll
a8cd357b77
static-site-gen: add a Rust Markdown parser 2022-09-04 16:41:40 +01:00
Brian Carroll
7d6f0b3806
examples: first draft of static site generator example 2022-08-28 14:33:03 +01:00