Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Add syntax to use style='format ...'
Browse files Browse the repository at this point in the history
Some updates to the README.
  • Loading branch information
miekg committed Jul 7, 2014
1 parent be272d7 commit a6b952d
Show file tree
Hide file tree
Showing 4 changed files with 667 additions and 619 deletions.
4 changes: 0 additions & 4 deletions NEW

This file was deleted.

14 changes: 13 additions & 1 deletion README.md
Expand Up @@ -13,7 +13,19 @@ Although you can type Pandoc just fine, there are two things that differ
* Using Pandoc citations is not supported, you must use internal references
for this;
* Referencing figures and tables is done by abusing inline footnotes, which are
typeset directly after the figure or table.
typeset directly after the figure or table. Like so:

^[tab:simple::Demonstration of **simple** table syntax.]

Where `tab:simple` will be the anchor and the text after `::` as used for the title.

* List with `style=format REG%d` are typeset with strikethrough text in the
first element, as such:

1. ~~REQ%d~~ First REQ1 item;
2. Second REQ2 item.

* An index is done by (yet again) by using a foonote, but the first item is a subscript:

As said, more extensive docs are here:
<http://tools.ietf.org/html/draft-gieben-pandoc2rfc-03>. But after some setup, it
Expand Down
7 changes: 7 additions & 0 deletions test/back.mkd
Expand Up @@ -73,6 +73,13 @@ again. Or you might want to [Click here](http://miek.nl).

## List Tests

Use `style="format REQ%d."`, by using the following strikethrough syntax:

1. ~~REQ%d.~~ This is the firs item;
2. Should be type set as REQ2.

More

1. First we do
2. And then
* item 1
Expand Down

0 comments on commit a6b952d

Please sign in to comment.