3:: mark conversion functions
7 :: convert %gmi mark to %docu mark
13 =/ res (reel gem process)
16 [(make-list acc.res) out.res]
18 :: Convert each gmni type to manx
22 |= [g=gmni acc=(list @t) out=marl]
24 %list [[text.g acc] out]
29 ?~(acc out [(make-list acc) out])
30 :_ ?~(acc out [(make-list acc) out])
36 :_ ?~(acc out [(make-list acc) out])
48 :_ ?~(acc out [(make-list acc) out])
52 ;pre(class (lang u.alt.g)): {(trip text.g)}
56 :_ ?~(acc out [(make-list acc) out])
58 ;blockquote: {(trip text.g)}
62 :_ ?~(acc out [(make-list acc) out])
65 %1 ;h1: {(trip text.g)}
66 %2 ;h2: {(trip text.g)}
67 %3 ;h3: {(trip text.g)}
70 :: convert codeblock alt-text to
76 %+ scan (cass (trip t))
78 (star ;~(pose aln (cold '-' next)))
79 :: assemble individual bullet points
92 :: convert a %txt mark to a %docu mark
99 ;* (turn (make-paras tex) reprocess)
101 :: useful parsing short-hands
103 ++ eof ;~(less next (easy ~))
104 ++ white (mask "\09 ")
105 ++ blank ;~(plug (star white) (just '\0a'))
106 ++ hard-wrap (cold ' ' ;~(plug blank (star white)))
107 ++ one-space (cold ' ' (plus white))
108 :: first pass of text file, separating and
109 :: processing paragraphs
117 (cold ~ (full empty))
118 ;~(pfix (star empty) (plus para))
120 :: separate paragraph from text body,
121 :: rejoining hard-wrapped lines,
122 :: collapsing whitespace and removing
123 :: leading/trailing whitespace
137 :: breaks between paragraphs
141 ;~(plug blank (plus blank))
142 ;~(plug (star white) eof)
143 ;~(plug blank (star white) eof)
145 :: reprocess a paragraph, distinguishing
146 :: code and plaintext
153 (plus ;~(pose code plain))
167 :: convert atoms, arms and wings to inline code
177 :: ++arm +*of +$some:kind
180 lus ;~(pose lus buc tar)
181 low (star ;~(pose nud low hep col))
185 %+ cook |=(=coin ~(rend co coin))
189 ;~(plug (just '0') low)
195 %+ cook |=(=(list tape) `tape`(zing list))
197 ;~(plug dot low (star ;~(pose nud low hep)))
200 %+ cook |=(=coin "%{~(rend co coin)}")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list