diff options
author | j-james | 2022-10-17 06:25:45 +0000 |
---|---|---|
committer | j-james | 2022-10-17 06:27:55 +0000 |
commit | 3e9bb5fae16c35938bc1f7f7669c12cc355c9331 (patch) | |
tree | 82e1ab837579e7762071ea97c064c0750a38c106 /data | |
parent | 0845be5ec0215fb43f9dbdef00b22a733d4080b3 (diff) |
Basic prototypes of HTML/CSS lexers
Diffstat (limited to 'data')
-rw-r--r-- | data/example.css | 25 | ||||
-rw-r--r-- | data/example.html | 46 | ||||
-rw-r--r-- | data/example.md | 39 | ||||
-rw-r--r-- | data/tobs.jpg | bin | 314309 -> 0 bytes |
4 files changed, 110 insertions, 0 deletions
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 @@ +<!DOCTYPE html> +<html> +<head> + <title>Example Domain</title> + + <meta charset="utf-8" /> + <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <style type="text/css"> + 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; + } + } + </style> +</head> + +<body> +<div> + <h1>Example Domain</h1> + <p>This domain is for use in illustrative examples in documents. You may use this + domain in literature without prior coordination or asking for permission.</p> + <p><a href="https://www.iana.org/domains/example">More information...</a></p> +</div> +</body> +</html> 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 <abbr title="Hypertext Markup Language">HTML</abbr> tags are supported.
\ No newline at end of file diff --git a/data/tobs.jpg b/data/tobs.jpg Binary files differdeleted file mode 100644 index f1652ef..0000000 --- a/data/tobs.jpg +++ /dev/null |