2024-06-09 00:27:31 -04:00

34 lines
595 B
Plaintext

SOX - Simple Outline XML
https://en.wikipedia.org/wiki/Simple_Outline_XML
writing:
html>
xmlns=http://www.w3.org/1999/xhtml
head>
title> Sample page
body>
p> A very brief page
results in:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Sample page</title>
</head>
<body>
<p>A very brief page</p>
</body>
</html>
HAML - a compact form of XML/HTML
https://en.wikipedia.org/wiki/Haml
writing:
%p{:class => "sample", :id => "welcome"} Hello, World!
- or -
%p.sample#welcome Hello, World!
results in:
<p class="sample" id="welcome">Hello, World!</p>