From 3e9bb5fae16c35938bc1f7f7669c12cc355c9331 Mon Sep 17 00:00:00 2001 From: j-james Date: Sun, 16 Oct 2022 23:25:45 -0700 Subject: Basic prototypes of HTML/CSS lexers --- data/example.css | 25 +++++++++++++++++++++++++ data/example.html | 46 ++++++++++++++++++++++++++++++++++++++++++++++ data/example.md | 39 +++++++++++++++++++++++++++++++++++++++ data/tobs.jpg | Bin 314309 -> 0 bytes 4 files changed, 110 insertions(+) create mode 100644 data/example.css create mode 100644 data/example.html create mode 100644 data/example.md delete mode 100644 data/tobs.jpg (limited to 'data') diff --git a/data/example.css b/data/example.css new file mode 100644 index 0000000..dd93d52 --- /dev/null +++ b/data/example.css @@ -0,0 +1,25 @@ +body { + background-color: #f0f0f2; + margin: 0; + padding: 0; + font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + +} +div { + width: 600px; + margin: 5em auto; + padding: 2em; + background-color: #fdfdff; + border-radius: 0.5em; + box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02); +} +a:link, a:visited { + color: #38488f; + text-decoration: none; +} +@media (max-width: 700px) { + div { + margin: 0 auto; + width: auto; + } +} diff --git a/data/example.html b/data/example.html new file mode 100644 index 0000000..b62fc42 --- /dev/null +++ b/data/example.html @@ -0,0 +1,46 @@ + + + + Example Domain + + + + + + + + +
+

Example Domain

+

This domain is for use in illustrative examples in documents. You may use this + domain in literature without prior coordination or asking for permission.

+

More information...

+
+ + diff --git a/data/example.md b/data/example.md new file mode 100644 index 0000000..45b29de --- /dev/null +++ b/data/example.md @@ -0,0 +1,39 @@ +Heading +======= + +Sub-heading +----------- + +# Alternative heading # + +Paragraphs are separated +by a blank line. + +Two spaces at the end of a line +produce a line break. + +Text attributes _italic_, **bold**, `monospace`. + +Horizontal rule: + +--- + +Bullet lists nested within numbered list: + +1. fruits + * apple + * banana +2. vegetables + - carrot + - broccoli + +A [link](http://example.com). + +![Image](Icon-pictures.png "icon") + +> Markdown uses email-style +characters for blockquoting. +> +> Multiple paragraphs need to be prepended individually. + +Most inline HTML tags are supported. \ No newline at end of file diff --git a/data/tobs.jpg b/data/tobs.jpg deleted file mode 100644 index f1652ef..0000000 Binary files a/data/tobs.jpg and /dev/null differ -- cgit v1.2.3-70-g09d2