Knap icon
Knap icon

Knap

Knap is a flexible template language for creating Markdown. It is shared by Obsidian tools, including Web Clipper and Importer.

Knap screenshot 1

Cost / License

  • Free
  • Open Source (MIT)

Platforms

  • JavaScript
  • Typescript
  • Self-Hosted
  • npm
0likes
0articles

Features

  1.  Support for MarkDown
  2.  Command line interface
  3.  Tokenization
  4.  Html parsing
  5.  Variables

Knap News & Activities

Highlights All activities

Recent activities

Knap information

AlternativeTo Categories

DevelopmentOS & Utilities

GitHub repository

  •  445 Stars
  •  14 Forks
  •  3 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Knap was added to AlternativeTo by Paul on and this page was last updated .
No comments or reviews, maybe you want to be first?

Official Links

What is Knap?

Knap is a flexible template language for creating Markdown. It is shared by Obsidian tools, including Web Clipper and Importer.

Knap provides tokenization, parsing, logic, rendering, structured errors, and filters. Applications supply variables and runtime integrations. Knap uses an AST interpreter. It does not use eval or execute arbitrary JavaScript.

Knap produces Markdown, including any HTML supplied in templates or variables. Render it as text, or use a Markdown renderer that sanitizes HTML and validates link protocols before inserting the result into a page. HTML manipulation filters such as strip_tags and remove_html are not sanitizers. The link and image filters escape literal labels and destinations and omit javascript:, vbscript:, and data: destinations; relative links and application protocols such as obsidian: remain supported. Hosts should apply their own protocol policy when displaying the result.