all links in readme are global; a test added
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
[NoteHub](http://notehub.org) is a free and hassle-free anonymous hosting for markdown pages. It can be used for publishing of markdown-formatted text.
|
||||
|
||||
NoteHub was an one-app-one-language [experiment](/2012/6/16/how-notehub-is-built) and is implemented entirely in [Clojure](http://clojure.org) (ClojureScript).
|
||||
NoteHub was an one-app-one-language [experiment](http://notehub.org/2012/6/16/how-notehub-is-built) and is implemented entirely in [Clojure](http://clojure.org) (ClojureScript).
|
||||
The [source code](https://github.com/chmllr/NoteHub) can be found on GitHub.
|
||||
NoteHub's persistence layer is based on the key-value store [redis](http://redis.io).
|
||||
Currently, NoteHub is hosted for free on [Heroku](http://heroku.com).
|
||||
@@ -21,7 +21,7 @@ __NoteHub__ should be the place, where you can publish your thoughts without has
|
||||
First, create [a new page](http://notehub.org/new) using the [Markdown syntax](http://daringfireball.net/projects/markdown/).
|
||||
When the note is published, you'll see a subtle panel at the bottom of the screen.
|
||||
From this panel you can go to a rudimentary statistics of the article, or you can export the original markdown, or copy the short url of the note.
|
||||
Besides this, you also can invert the color scheme by appending to the note url ([example](/2012/6/16/how-notehub-is-built?theme=dark)):
|
||||
Besides this, you also can invert the color scheme by appending to the note url ([example](http://notehub.org/2012/6/16/how-notehub-is-built?theme=dark)):
|
||||
|
||||
notehub.org/.../title?theme=dark
|
||||
|
||||
@@ -33,7 +33,7 @@ and for the text itself:
|
||||
|
||||
notehub.org/.../title?header-font=FONT-NAME&text-font=FONT-NAME2
|
||||
|
||||
See an example of the font formatting ([here](/2012/6/16/how-notehub-is-built?header-font=Berkshire+Swash&text-font=Swanky+and+Moo+Moo)).
|
||||
See an example of the font formatting ([here](http://notehub.org/2012/6/16/how-notehub-is-built?header-font=Berkshire+Swash&text-font=Swanky+and+Moo+Moo)).
|
||||
|
||||
After you've specified this in the url, you can copy the corresponding short url of the article and share it.
|
||||
|
||||
|
||||
@@ -15,8 +15,10 @@
|
||||
(deftest storage
|
||||
(testing "Storage"
|
||||
(testing "of short-url mechanism"
|
||||
(let [url (create-short-url metadata)]
|
||||
(let [url (create-short-url metadata)
|
||||
url2 (create-short-url metadata)]
|
||||
(is (short-url-exists? url))
|
||||
(is (= url url2))
|
||||
(is (= metadata (resolve-url url)))
|
||||
(is (not (do
|
||||
(delete-short-url url)
|
||||
|
||||
Reference in New Issue
Block a user