diff options
author | Alan Pearce | 2018-06-07 13:55:17 +0200 |
---|---|---|
committer | Alan Pearce | 2025-03-16 00:11:22 +0100 |
commit | f9567068c0871a2ca8aea3941cf33b386476a5d1 (patch) | |
tree | e02f7038bcd1fdb5e3a54e981577436923b022a3 /post/cedit-and-paredit.md | |
parent | f105fee2b4f3cb6995c06e344e1587de42869b64 (diff) | |
download | website-f9567068c0871a2ca8aea3941cf33b386476a5d1.tar.lz website-f9567068c0871a2ca8aea3941cf33b386476a5d1.tar.zst website-f9567068c0871a2ca8aea3941cf33b386476a5d1.zip |
Use code fences instead of template tags for syntax highlighting
Diffstat (limited to 'post/cedit-and-paredit.md')
-rw-r--r-- | post/cedit-and-paredit.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/post/cedit-and-paredit.md b/post/cedit-and-paredit.md index a8b65a1..23fb1c4 100644 --- a/post/cedit-and-paredit.md +++ b/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 >}} +```elisp (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 >}} +``` Hopefully that saves someone some time if they try to use the two together. |