GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Jesse (jaawerth@functional.cafe)'s status on Saturday, 14-Dec-2024 03:00:27 JSTJesseJesse
    • Matthew Lyon

    @mattly @technomancy In that case, this is the version using the pandoc variables. I think it's better than the manual html { } rule (though we could also include both). I put it in the Makefile instead of markdown-to-website.lua since I figured it'd make it harder to forget we're relying on those CSS vars externally

    diff --git a/Makefile b/Makefile
    index fa92c29..9516711 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -16,6 +16,9 @@ HTML := tutorial.html api.html reference.html lua-primer.html changelog.html \

    # This requires pandoc 2.0+
    PANDOC ?= pandoc --syntax-definition fennel-syntax.xml -f gfm \
    + -M fontcolor='var(--base-fg)' \
    + -M backgroundcolor='var(--base-bg)' \
    + -M monobackgroundcolor='var(--source-bg)' \
    -H head.html -A foot.html -T "Fennel" \
    --lua-filter=markdown-to-website.lua
    In conversationabout 6 months ago from functional.cafepermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.