Skip to content

Commit c63125d

Browse files
authored
Merge pull request #1 from davesnx/vendor-cmarkit
Implement our own markdown rendering
2 parents 1939a1b + 7170eb4 commit c63125d

File tree

13 files changed

+822
-303
lines changed

13 files changed

+822
-303
lines changed

src/markdown2/config.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(* Markdown output configuration *)
22

3-
type t = { root_url : string option }
3+
type t = { root_url : string option; allow_html : bool }
44

5-
let v ~root_url () = { root_url }
5+
let make ~root_url ~allow_html () = { root_url; allow_html }

src/markdown2/dune

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
(library
22
(name odoc_markdown)
33
(public_name odoc.markdown)
4-
(libraries odoc_model odoc_document cmarkit)
5-
(preprocess
6-
(action
7-
(run
8-
%{bin:cppo}
9-
-I
10-
"%{env:CPPO_FLAGS=}"
11-
-V
12-
OCAML:%{ocaml_version}
13-
%{input-file}))))
4+
(libraries odoc_model odoc_document))

0 commit comments

Comments
 (0)