|
|
|
|
|
by dangus
309 days ago
|
|
> Now here's how to make an image in rst: .. image:: example.jpg
:alt: alttext
That is some horrendous syntax.I totally get the author’s power user needs, and the article states plainly
that this isn’t for everyone, but there’s gotta be something with power AND earthly syntax, right? |
|
Also the author has very bad taste in having used two spaces of indentation. It should have been three, which makes it significantly less ugly:
“.. ”: this block is magic.“image::”: directive, type image.
“example.jpg”: directive argument, file name.
“:alt: alttext” directive option, named alt, value alttext.
Rewritten with a completely different sort of syntax, for fun: