go-org-orgwiki/org
Niklas Fasching 21f1af7d48 Add support for custom numbering of ordered list using [@\d+]
org mode supports [1] setting the value attribute [2] of ordered list items to
change the numbering for the current and following items. Let's do the same. As
the attribute has no meaning for other types of lists [2] we'll just not
support it for those cases [3].

[1] https://orgmode.org/manual/Plain-Lists.html#Plain-Lists
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attributes
[3]
Org mode seems to instead set the id attribute for e.g. unordered lists
starting with `[@\d+]\s` - but I don't really see the value in that and will
skip that for now.
2021-04-17 15:43:19 +02:00
..
testdata Add support for custom numbering of ordered list using [@\d+] 2021-04-17 15:43:19 +02:00
block.go Improve block parameter parsing 2021-04-11 21:52:12 +02:00
document.go Add title export option 2020-06-26 12:25:17 +02:00
drawer.go Make ORG-mode drawer "🔚" case-insensitivie 2020-11-16 12:37:37 -08:00
footnote.go Export WriteNodesAsString on writer interface 2019-11-02 23:44:16 +01:00
fuzz.go Fix fuzz 2019-01-02 21:22:13 +01:00
headline.go Fix list item parsing and headline token lvls 2020-07-22 13:49:58 +02:00
html_entity.go Add support for org-entities (e.g. ndash, mdash, \Aacute) 2018-12-11 22:12:51 +01:00
html_writer.go Add support for custom numbering of ordered list using [@\d+] 2021-04-17 15:43:19 +02:00
html_writer_test.go html: Support pretty relative links 2021-01-02 20:48:28 +01:00
inline.go html: Support links with image descriptions 2020-06-28 21:16:46 +02:00
keyword.go Fix comments: comments must start with #\s not just # 2020-07-28 19:28:30 +02:00
list.go Add support for custom numbering of ordered list using [@\d+] 2021-04-17 15:43:19 +02:00
org_writer.go Add support for custom numbering of ordered list using [@\d+] 2021-04-17 15:43:19 +02:00
org_writer_test.go Add support for extending writers 2019-10-27 16:43:42 +01:00
paragraph.go Preserve whitespace (indentation) inside paragraphs 2019-12-22 14:17:14 +01:00
table.go Store table separator indices 2020-06-26 20:05:59 +02:00
util.go Improve footnote handling 2018-12-26 15:42:12 +01:00
writer.go Implement #+MACRO 2020-04-17 16:41:06 +02:00