Moderators: phlip, Moderators General, Prelates
MoD wrote:Real programmers use plaintext. Parentheses work for math, if you're including that in the category of markup languages.
#include <stdio.h>
int main()
{ struct { unsigned a:3, b:3, c:2; } n = {0};
do do printf("%hhu\n", *&n);
while(!(n.a-- && !++n.b));
while(++n.c);
return 0; } MoD wrote:Real programmers use plaintext. Parentheses work for math, if you're including that in the category of markup languages.
OOPMan wrote:XML is the Greater Demon and Java is it's master, The Devil
scarecrovv wrote:If I don't care about making it look pretty, I use plain text. If I do (which isn't too often) I opt for La\TeX (unfortunately, the forum can't do better than bits of \TeX).
Cosmologicon wrote:Emu* implemented a naive east-first strategy and ran it for an hour, producing results that rivaled many sophisticated strategies, visiting 614 cells. For this, Emu* is awarded Best Deterministic Algorithm!
<div id="hello" style="color:black;">
<h2 style="color:green;">This is a title</h2>
<h3 class="a_class">This is a subhead</h3>
<p style="color:red;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ornare aliquam erat. Donec eu risus at urna vehicula interdum. Proin sodales ligula adipiscing mauris. Suspendisse lectus leo, fermentum nec, tempus eget, rutrum quis, eros. <a href="http://www.textism.com" title="optional title">This is a link</a></p>
<table style="border:1px solid black;">
<tr>
<th>this</th>
<th>is</th>
<th>a</th>
<th>header</th>
</tr>
<tr style="background:gray;text-align:left;">
<td colspan="2">this is</td>
<td style="background:red;width:200px;">a</td>
<td style="vertical-align:top;height:200px;text-align:justify;">row</td>
</tr>
<tr>
<td>this</td>
<td style="padding:10px;text-align:justify;">is</td>
<td style="vertical-align:top;">another</td>
<td class="bob" id="bob">row</td>
</tr>
</table>
<p><img src="/common/textist.gif" title="optional alt text" alt="optional alt text" /></p>
</div>
<div id="hello" style="color:black;">
h2{color:green}. This is a title
h3(a_class). This is a subhead
p{color:red}. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ornare aliquam erat. Donec eu risus at urna vehicula interdum. Proin sodales ligula adipiscing mauris. Suspendisse lectus leo, fermentum nec, tempus eget, rutrum quis, eros. "This is a link (optional title)":http://www.textism.com
table{border:1px solid black}.
|_. this|_. is|_. a|_. header|
<{background:gray}. |\2. this is|{background:red;width:200px}. a|^<>{height:200px}. row|
|this|<>{padding:10px}. is|^. another|(bob#bob). row|
!/common/textist.gif(optional alt text)!
</div>
.hello{:color => "black"}
%h2{:color => "green"} This is a title
%h3.a_class This is a subhead
%p{:color => "red"}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ornare aliquam erat. Donec eu risus at urna vehicula interdum. Proin sodales ligula adipiscing mauris. Suspendisse lectus leo, fermentum nec, tempus eget, rutrum quis, eros.
%a{:href => "http://www.textism.com", :title => "optional title"}
This is a link
%table{:style => "border: 1px solid black"}
%tr
%th this
%th is
%th a
%th header
%tr{:style => "background:gray"
%td{:colspan => 2} this is
%td{:style => "background:red;width:200px"} a
%td{:style => "vertical-align:top;height:200px;text-align:justify;"} row
%tr
%td this
%td{:style => "padding:10px;text-align: justify"} is
%td{:style => "vertical-align:top"} another
%td.bob#bob row
%p
%img{:src => "/common/textist.gif", :title => "optional alt text"}
# Comments go here
---
invoice: 34843
date : 2001-01-23
bill-to: &id001
given : Chris
family : Dumars
address:
lines: |
458 Walkman Dr.
Suite #292
city : Royal Oak
state : MI
postal : 48046
ship-to: *id001
product:
- sku : BL394D
quantity : 4
description : Basketball
price : 450.00
- sku : BL4438H
quantity : 1
description : Super Hoop
price : 2392.00
tax : 251.42
total: 4443.52
comments: >
Late afternoon is best.
Backup contact is Nancy
Billsmer @ 338-4338.
...
<invoice xmlns:yaml="http://yaml.org/xml">
<number>34843</number>
<date>2001-01-03</date>
<bill-to yaml:anchor="id001">
<given>Chris</given>
<family>Dumars</family>
<address>
<lines>458 Walkman Dr.
Suite #292
</lines>
<city>Royal Oak</city>
<state>MI</state>
<postal>48046</postal>
</address>
</bill-to>
<ship-to yaml:alias="id001" />
<product>
<_>
<sku>BL394D</sku>
<quantity>4</quantity>
<description>Basketball</description>
<price>450.00</price>
</_>
<_>
<sku>BL4438</sku>
<quantity>1</quantity>
<description>Super Hoop</description>
<price>2392.00</price>
</_>
</product>
<tax>251.42</tax>
<total>4443.52</total>
<comments>Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338
</comments>
</invoice>
# This is a title
## This is a subhead
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ornare aliquam erat. Donec eu risus at urna vehicula interdum. Proin sodales ligula adipiscing mauris. Suspendisse lectus leo, fermentum nec, tempus eget, rutrum quis, eros. [This is a link](http://daringfireball.net/projects/markdown/)
[Here's another link][link2]
|this|is|a |header|
|====|==|=======|======|
|this|is|a |row |
|this|is|another|row |
* unordered list item 1
* ul 2
* ul 3
1. ol 1
2. ol 2
3. ol 3

[link2]: http://www.example.com
"An example link"
Xanthir wrote:What's wrong with straight html? They make sanitizers for a reason.
This is a title
===============
This is a subhead
-----------------
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ornare aliquam
erat. Donec eu risus at urna vehicula interdum. Proin sodales ligula adipiscing
mauris. Suspendisse lectus leo, fermentum nec, tempus eget, rutrum quis, eros.
`This is a link`__.
__ http://docutils.sourceforge.net/docs/user/rst/quickstart.html
`Here's another link <http://www.google.com>`_
+----+--+-------+------+
|this|is|a |header|
+====+==+=======+======+
|this|is|a |row |
+----+--+-------+------+
|this|is|another|row |
+----+--+-------+------+
======= ===========
Simpler Table Layout
--------------------
Simple Tables
======= ===========
Simpler Syntax
Easier to write
Harder to span
======= ===========
* unordered list item 1
* ul 2
* ul 3
1. ol 1
2. ol 2
3. ol 3
Another list, autonumbered:
#. Item 1
#. Newly inserted item
#. Item 2
#. Item 3
.. image:: rest.png
:alt: Some alt text
Users browsing this forum: Slageammalymn and 2 guests