From 1e160edd4ce6c7fa1181cbe311594b9b6d819e1a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 3 May 2017 10:03:46 +0200 Subject: Update shortcode syntax --- content/post/cedit-and-paredit.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/post/cedit-and-paredit.md') diff --git a/content/post/cedit-and-paredit.md b/content/post/cedit-and-paredit.md index 09ed176..a8b65a1 100644 --- a/content/post/cedit-and-paredit.md +++ b/content/post/cedit-and-paredit.md @@ -28,12 +28,12 @@ paredit. Turns out it provides that control whether a space should be inserted. So, solving the formatting issue turned out to be pretty simple: -{{% highlight cl %}} +{{< highlight cl >}} (defun ap/cedit-space-delimiter-p (endp delimiter) "Don't insert a space before delimiters in c-style modes" (not cedit-mode)) (add-to-list 'paredit-space-for-delimiter-predicates #'ap/cedit-space-delimiter-p) -{{% /highlight %}} +{{< /highlight >}} Hopefully that saves someone some time if they try to use the two together. -- cgit 1.4.1