Open utterances-bot opened 3 years ago
May I also suggest trying out my little library for HTML: https://github.com/moderninterpreters/markup
@charJe built some fantastic editor support for Emacs too, I think this is the most productive I've ever been with HTML in any language.
I will if and when I can! In the meanwhile, be sure to reference it on Cliki or the Awesome-cl list. And/or… write a blog post, show us some code and post it on reddit :)
@vindarel It's on cliki, and I posted on reddit a while ago (https://www.reddit.com/r/lisp/comments/avu1kc/i_built_an_xmlhtml_reader_macro_in_lisp/). I haven't looked at awesome-cl yet
Custom Djula filters - Lisp journey
Djula is a Common Lisp port of the Django templating language. It’s good, it’s proven (it’s one of the most downloaded Quicklisp packages), it is easy to use and it has good documentation.It basically looks like this:{% extends "base.html" %} {% block title %}Memberlist{% endblock %} {% block content %} <ul> {% for user in users %} <li><a href="{{ user.url }}">{{ user.username }}</a></li> {% endfor %} </ul> {% endblock %} What was missing in the documentation was how to create custom filters.
https://lisp-journey.gitlab.io/blog/custom-djula-filter/