$ make build
Start the local server on port 5001.
$ make run-server
# .env
PIMENTO_API_ORIGIN=http://localhost:5001
LOCAL_TOOLS_MODE=true
// script.js
import { initPimento } from "/api/code/daiiz-codes/pimento-build/script.js";
initPimento([], "http://localhost:5001");
- Create a page
_pimento
in your Scrapbox project. - Copy a sample code https://scrapbox.io/pimento/B5_標準 (template.tex) to the page
_pimento
.
Examples
% =====pimento-options=====
% icons=gray // gray, color, text*, ignore
% images=gray // gray*, color, ignore
% heading-number-omit-level=3
% appendix=true // true, false*
% index=true // true, false*
$ make run-server-dev
$ make run-bash
# cd /var/apps/docs
# lualatex tex/sample.tex
Note: Run outside a Docker container.
$ npm run dev