Debian Codegraph @

org/testdata/misc.org

raw
1 #+TITLE: Misc title @@html:<b>with an inline html export</b>@@
2 ** issues from goorgeous (free test cases, yay!)
3 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/19][#19]]: Support #+HTML
4 #+HTML: <p style="border: 1px dotted grey">neato!</p>
5 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/29][#29:]] Support verse block
6 #+BEGIN_VERSE
7 This
8 *is*
9 verse
10 #+END_VERSE
11
12 #+BEGIN_CUSTOM
13 or even a *totally* /custom/ kind of block
14 crazy ain't it?
15 #+END_CUSTOM
16 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/30][#30]]: Support #+SETUPFILE
17 see =./headlines.org=
18 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/31][#31]]: Support #+INCLUDE
19 Note that only src/example/export block inclusion is supported for now.
20 There's quite a lot more to include (see the [[https://orgmode.org/manual/Include-files.html][org manual for include files]]) but I
21 don't have a use case for this yet and stuff like namespacing footnotes of included files
22 adds quite a bit of complexity.
23
24 for now files can be included as:
25 - src block
26 #+INCLUDE: "./headlines.org" src org
27 - export block
28 #+INCLUDE: "./paragraphs.html" export html
29 - example block
30 #+INCLUDE: "../../.github/workflows/ci.yml" example yaml
31 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/33][#33]]: Wrong output when mixing html with Org mode
32 #+HTML: <div class="outline-2" id="meta" style="color: green;">
33 | *foo* | foo |
34 | *bar* | bar |
35 #+HTML: </div>
36 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/41][#41]]: Support Table Of Contents
37 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/46][#46]]: Support for symbols like ndash and mdash
38 - ndash --
39 - mdash ---
40 - ellipsis ...
41 - acute \Aacute and so on
42 - note that ------ is replaced with 2 mdashes and .... becomes ellipsis+. and so on - that's how org also does it
43
44
45
46 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/47][#47:]] Consecutive ~code~ wrapped text gets joined
47 either ~this~ or ~that~ foo.
48 either ~this~
49 or ~that~ foo.
50 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/50][#50]]: LineBreaks in lists are preserved
51 - this list item
52 has
53 multiple
54 linbreaks - but it's still just one paragraph (i.e. no line breaks are rendered)
55 - foobar
56 1. same
57 goes
58 for
59 ordered
60 lists
61 2. foo
62 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/68][#68]]: Quote block with inline markup
63 #+BEGIN_QUOTE
64 [[https://www.example.com][/this/ *is* _markup_!]]
65 #+END_QUOTE
66 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/72][#72]]: Support for #+ATTR_HTML
67 #+ATTR_HTML: :alt Go is fine though. :id gopher-image
68 #+ATTR_HTML: :width 300 :style border:2px solid black;
69 [[https://golang.org/doc/gopher/pkg.png]]
70 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/75][#75]]: Not parsing nested lists correctly
71 - bullet 1
72 - sub bullet
73
74 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/77][#77]]: Recognize =code=--- as code plus dash
75 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/78][#78]]: Emphasis at beginning of line
76 /italics/
77
78
79 Text
80 /italics/
81 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/82][#82]]: Crash on empty headline
82 ****
83 just a space as title...
84 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/84][#84]]: Paragraphs that are not followed by an empty line are not parsed correctly
85 **** Foo
86 Foo paragraph.
87 **** Bar
88 Bar paragraph
89 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/86][#86]]: Multiple hyphens not converted to dashes
90 just like #46
91 - =--= -> -- (en dash)
92 - =---= -> --- (em dash)
93
94 also, consecutive dashes inside
95 - inline code =--= =---= and verbatim ~--~ ~---~
96 - src/example/export blocks should not be converted!
97 #+BEGIN_SRC sh
98 --, ---
99 #+END_SRC
100
101 #+BEGIN_EXAMPLE
102 --, ---
103 #+END_EXAMPLE
104
105 #+BEGIN_EXPORT html
106 --, ---
107 #+END_EXPORT
108
109 : --, ---
110
111 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/87][#87]]: Markup in footnotes is rendered literally
112 footnotes can contain *markup* - and other elements and stuff [fn:1] [fn:2:that also goes for *inline* footnote /definitions/]
113 *** DONE [[https://github.com/chaseadamsio/goorgeous/issues/92][#92]]: src blocks only render in caps
114 The behaviour of Org mode =<s TAB= changed and it now inserts lowercased src blocks (go-org already handled this one)
115 - lowercased:
116 #+begin_src bash
117 uname -a
118 #+end_src
119 - uppercased
120 #+BEGIN_SRC bash
121 uname -a
122 #+END_SRC
123 ** issues (wrongly) filed with hugo
124 *** [[https://github.com/gohugoio/hugo/issues/3874][#3874]] exporting images in org mode
125 Hello, I'm writing hugo blogs using org-mode.
126
127 When inserting an image link like [[/home/amos/Pictures/Screenshots/img-2017-09-11-165647.png]], hugo doesn't export the image.
128 *** [[https://github.com/gohugoio/hugo/issues/4006][#4006]] source code blocks in org not rendered correctly
129 #+BEGIN_SRC emacs-lisp
130 (defun small-shell ()
131 (interactive)
132 (split-window-vertically)
133 (other-window 1)
134 (shrink-window (- (window-height) 12))
135 (ansi-term))
136 #+END_SRC
137 ** misc fuzz / regression / edge case
138 *** index out of range in headline priority parsing
139 **** [#B
140 *** index out of range in explicit line break parsing
141 0\\
142
143 *** list items don't end on child headline
144 - a list item
145 **** followed by a child headline
146 - followed by another list item
147 * Footnotes
148
149 [fn:1] a footnote /with/ *markup*
150 - and a *list*
151 - because that's possible