-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is done by calling a parse-org function, the result of composing slurp and another function by the same name from clj-org.org. This lets us easily call parse-org on a path in the site.clj and get the hiccup content back.
- Loading branch information
Showing
3 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#+TITLE: Sur Moi | ||
#+TAGS: foo bar baz | ||
|
||
* A blog page! | ||
|
||
Now /this/ is content! | ||
|
||
|
||
** A subheading | ||
|
||
Woah | ||
|
||
* What about formatting? | ||
|
||
A list? | ||
|
||
- *BOLD* | ||
- /Italic/ | ||
- ~fixed-width~ | ||
|
||
#+BEGIN_SRC clojure | ||
(defn hello | ||
([] "Greetings, nerd") | ||
([name] (format "Greetings %s" name))) | ||
|
||
(hello "friend") | ||
#+END_SRC |
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
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