Commit 2e8e08b9 authored by Yuki's avatar Yuki
Browse files

Use lowercase HTML tag names for sample

parent 512077bd
Pipeline #42 passed with stages
in 1 minute and 24 seconds
......@@ -11,32 +11,32 @@ resulting HTML file.
```cock
"<!DOCTYPE html>"
Html [lang="en"]
Head
Title "Haruhi suzumiya personal website"
html [lang="en"]
head
title "Haruhi suzumiya personal website"
Meta [charset="utf-8"]
Meta [name="viewport" content="width=device-width, initial-scale=1"]
meta [charset="utf-8"]
meta [name="viewport" content="width=device-width, initial-scale=1"]
Meta [name="description" content="Haruhi's personal space on the wild wild web"]
meta [name="description" content="Haruhi's personal space on the wild wild web"]
Link [rel="stylesheet" href="styles.css"]
Body
H1 "Haruhi Suzumiya"
Hr
P
link [rel="stylesheet" href="styles.css"]
body
h1 "Haruhi Suzumiya"
hr
p
"Hello, world! Welcome to my small space on the corner of the web."
"I'm a high school student from Nishinomiya, Japan and interested in "
"supernatural phenomena and figures, such as "
A [href="/aliens"] "aliens"
a [href="/aliens"] "aliens"
", "
A [href="/time-travelers"] "time travelers"
a [href="/time-travelers"] "time travelers"
", and "
A [href="/time-travelers"] "espers"
a [href="/time-travelers"] "espers"
". If you know any, please let me know by shooting me an email at "
A [href="mailto:haruhi.suzumiya@example.jp"] "haruhi.suzumiya@example.jp"
Hr
H6 "All content on this website is released to the public domain."
a [href="mailto:haruhi.suzumiya@example.jp"] "haruhi.suzumiya@example.jp"
hr
h6 "All content on this website is released to the public domain."
```
## Using cock
......@@ -44,7 +44,7 @@ Html [lang="en"]
```console
% cock --input sample.cock --output sample.html
% cat sample.html
<!DOCTYPE html><Html lang="en"><Head><Title>Haruhi suzumiya personal
<!DOCTYPE html><html lang="en"><head><title>Haruhi suzumiya personal
...
```
......
"<!DOCTYPE html>"
Html [lang="en"]
Head
Title "Haruhi suzumiya personal website"
html [lang="en"]
head
title "Haruhi suzumiya personal website"
Meta [charset="utf-8"]
Meta [name="viewport" content="width=device-width, initial-scale=1"]
meta [charset="utf-8"]
meta [name="viewport" content="width=device-width, initial-scale=1"]
Meta [name="description" content="Haruhi's personal space on the wild wild web"]
meta [name="description" content="Haruhi's personal space on the wild wild web"]
Link [rel="stylesheet" href="styles.css"]
Body
H1 "Haruhi Suzumiya"
Hr
P
link [rel="stylesheet" href="styles.css"]
body
h1 "Haruhi Suzumiya"
hr
p
"Hello, world! Welcome to my small space on the corner of the web."
"I'm a high school student from Nishinomiya, Japan and interested in "
"supernatural phenomena and figures, such as "
A [href="/aliens"] "aliens"
a [href="/aliens"] "aliens"
", "
A [href="/time-travelers"] "time travelers"
a [href="/time-travelers"] "time travelers"
", and "
A [href="/time-travelers"] "espers"
a [href="/time-travelers"] "espers"
". If you know any, please let me know by shooting me an email at "
A [href="mailto:haruhi.suzumiya@example.jp"] "haruhi.suzumiya@example.jp"
Hr
H6 "All content on this website is released to the public domain."
a [href="mailto:haruhi.suzumiya@example.jp"] "haruhi.suzumiya@example.jp"
hr
h6 "All content on this website is released to the public domain."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment