From d27891a1522d7ddd7e1e0324bfaa7a93a7305d90 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 9 Sep 2017 23:38:18 +0100 Subject: [PATCH] #30: Fix. --- project.clj | 4 ++-- resources/public/content/Extensible Markup.md | 2 ++ src/smeagol/history.clj | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/project.clj b/project.clj index d564801..f2c958e 100644 --- a/project.clj +++ b/project.clj @@ -3,11 +3,11 @@ :url "https://github.com/simon-brooke/smeagol" :license {:name "GNU General Public License,version 2.0 or (at your option) any later version" :url "https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html"} - :dependencies [[clj-jgit "0.8.9"] + :dependencies [[clj-jgit "0.8.10"] [clj-yaml "0.4.0"] [com.cemerick/url "0.1.1"] [com.fzakaria/slf4j-timbre "0.3.7"] - [com.taoensso/encore "2.91.1"] + [com.taoensso/encore "2.92.0"] [com.cemerick/url "0.1.1"] [com.taoensso/timbre "4.10.0"] [com.fzakaria/slf4j-timbre "0.3.7"] diff --git a/resources/public/content/Extensible Markup.md b/resources/public/content/Extensible Markup.md index 84c984b..e0b1fed 100644 --- a/resources/public/content/Extensible Markup.md +++ b/resources/public/content/Extensible Markup.md @@ -1,3 +1,5 @@ +The basic format of Smeagol pages is [Markdown](https://daringfireball.net/projects/markdown/); documentation on how to format them is [here](https://daringfireball.net/projects/markdown/syntax). Note that there are a number of slightly different variants of Markdown; the version used by Smeagol does not currently allow tables. + A system of pluggable, extensible formatters is supported. In normal markdown, code blocks may be delimited by three backticks at start and end, and often the syntax of the code can be indicated by a token immediately following the opening three backticks. This has been extended to allow custom formatters to be provided for such code blocks. Two example formatters are provided: ## The Vega formatter diff --git a/src/smeagol/history.clj b/src/smeagol/history.clj index 8b65f8f..aca6dbe 100644 --- a/src/smeagol/history.clj +++ b/src/smeagol/history.clj @@ -84,7 +84,7 @@ (try (.reset result reader (.getId tree)) (finally - (.release reader) + (.close reader) (.dispose walk))) result))