Sort by - commited date
-
Tag
#CLI Usage ❯ scraps tag You can debug tag lists.
-
Build
#CLI Usage ❯ scraps build This command builds the Markdown files under the /scraps directory and generates static site files. Markdown files ❯ tree scraps scraps ├── Overview.md └── Markdown Syntax.md Generated files The output will be a slugged html file as follows. ❯ tree public public ├── overview.html ├── markdown-syntax.html ├── index.html └── main.css The next step is Serve.
-
Init
#CLI Usage ❯ scraps init your-scraps-project ❯ cd your-scraps-project This command initializes a new Scraps project. The output result will look like this. ❯ tree -a -L 1 . ├── .gitignore ├── Config.toml └── scraps The next step is Build.
-
Markdown Syntax
#Content CommonMark specification Scraps supports Markdown syntax according to the CommonMark specification. Please refer to the documentation of the pulldown-cmark library used internally for more details. CommonMark specification - pulldown-cmark guide GitHub-flavored Markdown As an extension, GitHub-flavored Markdown is also supported. This includes features such as strikethrough, tables, and task lists. Strikethrough: Markdown ~~This text is strikethrough.~~ Result This text is strikethrough. Task Lists: Markdown - [x] Task 1 - [ ] Task 2 - [ ] Task 3 Result Task 1 Task 2 Task 3 Mermaid By specifying mermaid as the language for a code block, you can use Mermaid diagrams. Markdown ```mermaid graph LR A --- B B-->C[fa:fa-ban forbidden] B-->D(fa:fa-spinner); ``` Result graph LR A --- B B-->C[fa:fa-ban forbidden] B-->D(fa:fa-spinner);
-
Serve
#CLI Usage ❯ scraps serve You can debug the build outputs by visiting http://127.0.0.1:1112