Skip to content

Commit 631200f

Browse files
committed
📝 docs: Beautify markdown TODO list items
1 parent 2fcaf91 commit 631200f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ex_union/docs.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ defmodule ExUnion.Docs do
2323
|> String.replace(~r/\(#([^\)]+)\)/, "(#module-\\1)")
2424
# Adjust the code links to work on hexdocs.pm
2525
|> String.replace(~r/\[(.+?)\]\[code:.+?\]/, "\\1")
26+
# Replace TODO-style boxes from list items
27+
|> String.replace("- [ ]", "- ◻")
28+
|> String.replace("- [x]", "- ✔")
2629
end)
2730
end
2831
end

0 commit comments

Comments
 (0)