~toastal/sourcehut-asciidoc-renderer

4ab398b1c798db304cc4ac1db83eae84c906bcfc — toastal 1 year, 10 months ago e801b77
Revert aside until it becomes supported by sr.ht

I’m leaving it in a comment because in the future, I will be referring
to this program to transform AsciiDoc in more flexible contexts (not in
SourceHut’s README constraints).
1 files changed, 2 insertions(+), 0 deletions(-)

M markup_massager/markup_massager.ml
M markup_massager/markup_massager.ml => markup_massager/markup_massager.ml +2 -0
@@ 26,7 26,9 @@ let markdown_wrapper node =

let aside_n_color_admonitions node =
	(* `aside` is a more semantic element *)
	(* SourceHut doesn’t support <aside> even if it is more semantic
	let () = Soup.set_name "aside" node in
	*)
	let add_icon_class c = Soup.select ".Icon" node |> Soup.iter (Soup.add_class c) in
	let cs = Soup.classes node in
	if List.exists (fun x -> x = "tip" || x = "info") cs then