all repos — website @ 1e160edd4ce6c7fa1181cbe311594b9b6d819e1a

My website

Update shortcode syntax

Alan Pearce
commit

1e160edd4ce6c7fa1181cbe311594b9b6d819e1a

parent

0f1c6aefc239a13f86a8222ab66fc3f213c4888e

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M content/post/cedit-and-paredit.mdcontent/post/cedit-and-paredit.md
@@ -28,12 +28,12 @@ `paredit-space-for-delimiter-predicates`, which is a list of functions
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.