Created
July 11, 2022 23:39
-
-
Save bakpakin/b61220169dd9589eee5c72b542991dc5 to your computer and use it in GitHub Desktop.
a remarkable patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/project.janet b/project.janet | |
index f1bd87c..90a6f6e 100644 | |
--- a/project.janet | |
+++ b/project.janet | |
@@ -10,11 +10,11 @@ | |
(declare-executable | |
:name "remark" | |
- :entry "src/remarkable.janet") | |
+ :entry "src/remarkable/init.janet") | |
(declare-source | |
- :source ["src/remarkable.janet"]) | |
+ :source ["src/remarkable"]) | |
(phony "spec" [] | |
diff --git a/src/remarkable.janet b/src/remarkable/init.janet | |
similarity index 81% | |
rename from src/remarkable.janet | |
rename to src/remarkable/init.janet | |
index 587f441..3a091c4 100644 | |
--- a/src/remarkable.janet | |
+++ b/src/remarkable/init.janet | |
@@ -1,10 +1,10 @@ | |
-(use ./remarkable/globals) | |
+(use ./globals) | |
-(import ./remarkable/blocks) | |
-(import ./remarkable/inlines) | |
-(import ./remarkable/parser) | |
-(import ./remarkable/renderers/html) | |
+(import ./blocks) | |
+(import ./inlines) | |
+(import ./parser) | |
+(import ./renderers/html) | |
(defn parse-md [input &opt your-blocks your-inlines your-functions your-priorities] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment