Obsidian plug-in that allows you to create and store ASCII graphics in your notes. It can be used to to define diagrams, flowcharts, complex tables, Gantt charts and more in technical documentation, that will be rendered as a nice SVG graphics in the preview mode.
This plug-in is based on typograms library, originally developed by Sam Goto.
I'm a software engineer and I use Obsidian to document my projects, as long as support my continuous learning process. I often need to create diagrams, flowcharts, tables and other graphics, that are not locked in a specific tool, but can be easily shared and versioned in my notes.
Using ASCII graphics allows to create a very flexible and portable content, that can be easily edited and versioned in a text file, without loosing benefits of a visual representation.
- Store ASCII graphics in notes and render them as SVG graphics in the preview mode.
- Use build-in editor to create and modify ASCII graphics without leaving Obsidian.
Install the plugin via the Obsidian third-party plugin browser.
- Open the Obsidian settings.
- In the sidebar, select
Community plugins
. - Search for
Textgrams
in available plugins. - Click
Install
. - Enable the plugin in the Obsidian settings.
Just create a code block with textgram
language and write your ASCII graphics inside it.
Example:
```textgram +-----+ +-----+ | A | | B | +--+--+ +--+--+ | foo | |----------------->| | hello | |----------------->|--+ | world | | prompts the user |<-----------------|--+ | | --+-- --+-- ```
You can find more examples here.
If you have any suggestions, issues or feature requests, please open an issue in the GitHub repository.
You can support this project by starring the repository, sharing it with your friends or contributing to the code.
You can also support the author by buying him a coffee. Click sponsor button on the top of the page.