We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c0d582 commit 4740cfbCopy full SHA for 4740cfb
lib/next_ls/docs.ex
@@ -140,6 +140,14 @@ defmodule NextLS.Docs do
140
"#{to_markdown(type, children)}\n" <> to_markdown(type, rest)
141
end
142
143
+ def to_markdown("application/erlang+html" = type, [{:ol, _, lis} | rest]) do
144
+ "#{to_markdown(type, lis)}\n" <> to_markdown(type, rest)
145
+ end
146
+
147
+ def to_markdown("application/erlang+html" = type, [{:ot, _, children} | rest]) do
148
+ "1. #{to_markdown(type, children)}\n" <> to_markdown(type, rest)
149
150
151
def to_markdown("application/erlang+html" = type, [{:i, _, children} | rest]) do
152
"_#{IO.iodata_to_binary(children)}_" <> to_markdown(type, rest)
153
0 commit comments