Skip to content

Commit

Permalink
Rename parser2 ns
Browse files Browse the repository at this point in the history
  • Loading branch information
zampino committed Aug 13, 2024
1 parent 10baed7 commit 020a93e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/nextjournal/markdown.cljc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(ns nextjournal.markdown
"Markdown as data"
(:require [nextjournal.markdown.parser.impl :as impl]
[nextjournal.markdown.parser.impl.utils :as u]
[nextjournal.markdown.transform :as markdown.transform]))


Expand Down
10 changes: 5 additions & 5 deletions src/nextjournal/markdown/parser/impl.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(ns nextjournal.markdown.parser.impl
(:require [clojure.zip :as z]
[nextjournal.markdown.parser :as parser]
[nextjournal.markdown.parser2.types]
[nextjournal.markdown.parser2.formulas :as formulas])
[nextjournal.markdown.parser.impl.types]
[nextjournal.markdown.parser.impl.formulas :as formulas])
(:import (org.commonmark.parser Parser)
(org.commonmark.ext.task.list.items TaskListItemsExtension TaskListItemMarker)
(org.commonmark.ext.footnotes FootnotesExtension FootnoteReference FootnoteDefinition InlineFootnote)
Expand Down Expand Up @@ -35,13 +35,13 @@
(set! *warn-on-reflection* true)
;; TODO:
;; - [x] inline formulas
;; - [ ] block formulas
;; - [x] block formulas
;; - [x] tight lists
;; - [x] task lists
;; - [ ] footnotes
;; - [x] footnotes
;; - [ ] strikethroughs ext
;; - [ ] tables
;; - [ ] fenced code info
;; - [x] fenced code info
;; - [ ] html nodes
;; - [ ] auto link
;; - [ ] promote single images as blocks
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns nextjournal.markdown.parser2.formulas
(ns nextjournal.markdown.parser.impl.formulas
(:require [clojure.string :as str])
(:import (java.util Set)
(java.util.regex Matcher)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns nextjournal.markdown.parser2.types)
(ns nextjournal.markdown.parser.impl.types)

;; See also
;; https://github.com/noties/Markwon/blob/master/markwon-ext-latex/src/main/java/io/noties/markwon/ext/latex/JLatexMathBlockParser.java
Expand Down

0 comments on commit 020a93e

Please sign in to comment.