coleslaw-org / coleslaw

Flexible Lisp Blogware
BSD 2-Clause "Simplified" License
553 stars 82 forks source link

Add possibility to write posts/pages in lispy syntax with cl-who. #109

Closed ebrasca closed 7 years ago

ebrasca commented 8 years ago

Add possibility to write posts/pages in lispy syntax with cl-who. Source : https://gitlab.common-lisp.net/dkochmanski/sclp/blob/master/plugins/cl-who-renderer.lisp

PuercoPop commented 8 years ago

Hi, thanks for taking the time to submit this upstream.

I had found @dkochmanski's plugin through @mordocai's Coleslaw setup, so this is something that Coleslaw should definitely support this feature.

Before we can merge this we need to add a entry for the plugin in docs/plugin-use.md

ghost commented 8 years ago

This may be difficult, but one feature I was wanting but didn't take the time to try to figure out would be to use cl-who + structured sexp(for metadata) for the blog posts.

dkochmanski commented 8 years ago

ah, btw if it's not obvious already, this code is public domain whatsoever, so you can incorporate it in any config or for any purpose (I think I didn't put any license file there)

PuercoPop commented 8 years ago

@kingcons Besides adding the following section to plugin-use.md

## CL-WHO Renderer

**Description**: Allows the user to write posts cl-who markup. Just create a
post with `format: cl-who` and the plugin will do the rest.

**Example**: (cl-who-renderer)

I want to attempt to rewrite this so w/o th eval by returning a function instead and funcalling it, but I need to fix #110 first. Would you mind holding the merge until friday? I haven't done the write by friday I'll just add the documentation and merge as it.

PuercoPop commented 7 years ago

Merged in https://github.com/kingcons/coleslaw/commit/a5c6e365d9cab07dd21445675268556160f009e7 with docs. Thanks again for taking the trouble to submit the plugin upstream!