~strahinja/strahinja.srht.site

f48647ba908c262b4b8e049bd5ac2ed0980231f4 — Страхиња Радић 15 days ago 124f030
slweb: Changed formatting of Q&A

Signed-off-by: Страхиња Радић <contact@strahinja.org>
3 files changed, 35 insertions(+), 26 deletions(-)

M index.css
M slweb/index.gmi
M slweb/index.slw
M index.css => index.css +6 -0
@@ 90,6 90,12 @@ pre
	overflow-y: hidden;
}

dd
{
	margin-left: 0;
	margin-bottom: 1em;
}

a
{
	color: var(--anchor);

M slweb/index.gmi => slweb/index.gmi +2 -7
@@ 16,7 16,6 @@ slweb is a static website generator which aims at being simplistic. It transform

## Q&A

```
Q: Is this suckless?
A: No. SGML, and by extension, HTML, isn't suckless.



@@ 24,13 23,9 @@ Q: Why do you call it "simple" then?
A: Because one is not the synonym for the other.

Q: Why not make a website generator as a shell script?
A: slweb was a shell script in its conception (check its history of commits in
   git). However, I wanted to implement Markdown links with link ids
   [like][this]. This requires multiple passes by the parser and is better
   implemented as a full-blown program in C anyway. The other reason was that
   sed and awk have limits, which some of my pages hit.
A: slweb _was_ a shell script in its conception (check its history of commits in git). However, I wanted to implement Markdown links with link ids [like][this]. This requires multiple passes by the parser and is better implemented as a full-blown program in C anyway. The other reason was that sed and awk have limits, which some of my pages hit.

   [this]: https://some.site
[this]: https://some.site

Q: My static website generator is "truly simple", this is not simple!
A: Good for you. By the way, that is a statement and not a question.

M slweb/index.slw => slweb/index.slw +27 -19
@@ 16,25 16,33 @@ transforms custom Markdown-like syntax into HTML.

## Q&A

```
Q: Is this suckless?
A: No. SGML, and by extension, HTML, isn't suckless.

Q: Why do you call it "simple" then?
A: Because one is not the synonym for the other.

Q: Why not make a website generator as a shell script?
A: slweb was a shell script in its conception (check its history of commits in
   git). However, I wanted to implement Markdown links with link ids
   [like][this]. This requires multiple passes by the parser and is better
   implemented as a full-blown program in C anyway. The other reason was that
   sed and awk have limits, which some of my pages hit.

   [this]: https://some.site

Q: My static website generator is "truly simple", this is not simple!
A: Good for you. By the way, that is a statement and not a question.
```
{dl}
{dt}
**Q:** Is this suckless?{/dt}
{dd}
**A:** No. SGML, and by extension, HTML, isn't suckless.{/dd}

{dt}
**Q:** Why do you call it &ldquo;simple&rdquo; then?{/dt}
{dd}
**A:** Because one is not the synonym for the other.{/dd}

{dt}
**Q:** Why not make a website generator as a shell script?{/dt}
{dd}
**A:** slweb _was_ a shell script in its conception (check its history of commits
in git). However, I wanted to implement Markdown links with link ids
`\[like]\[this]`. This requires multiple passes by the parser and is better
implemented as a full-blown program in C anyway. The other reason was that sed
and awk have limits, which some of my pages hit.

`\[this]: https://some.site`{/dd}

{dt}
Q: My static website generator is "truly simple", this is not simple!{/dt}
{dd}
A: Good for you. By the way, that is a statement and not a question.{/dd}
{/dl}


## Prerequisites