* testing code highlight with bfchroma render * add bfchroma vendoring * render code htm with classes * adjust bfchroma test cases inside formatter * go mod tidy * fix markdown code render tests * adjust comment text sanitizer to permit code HTML classes * go mod tidy * add chroma classes list regexp * unify gitignore entries style Co-authored-by: Umputun <umputun@gmail.com>
sample store implementation
memory_store illustrates how to make a custom storage plugin for remark42.
In order to run remark42 with memory_store copy provided compose-dev-memstore.yml to the root directory and run:
- docker-compose -f compose-dev-memstore.yml build
- docker-compose -f compose-dev-memstore.yml up
As usual, demo site will run on http://127.0.0.1:8080/web/
note: in order to work with the latest (current) version of master go.mod uses replacement directive for the backend package
. In real-life usage replace github.com/umputun/remark/backend => ../../ should not be used.