/obsidian-asciinema-player

This is a Obsidian plugin which supports embedding asciicast files into Markdown files

Primary LanguageTypeScript

English | 简体中文

Obsidian asciinema-player Plugin

This is a Obsidian plugin which supports embedding asciicast files into your Markdown files.

For more details about asciicast, you may want to visit asciinema recorder and asciinema.org.

Installation

From Obsidian Community Plugin

Attention: Not published to Obsidian Community Plugin yet

Manually

  1. Clone
$ git clone https://github.com/nekomeowww/obsidian-asciinema-player <path to obsidian vault>/.obsidian/plugins
  1. Build from source code
$ pnpm i && pnpm build
  1. Active plugin in Obsidian Community Plugin tab

Usage

Install asciinema recorder

  1. By using optional package manager brew on macOS
$ brew install asciinema
  1. By using pip3
$ sudo pip3 install asciinema

Create asciicast file

$ asciinema rec <path to a asciicast file ending with .cast>

Such as

$ asciinema rec demo.cast

Insert the file into your Obsidian Vault.

Markdown markup syntax

![](asciinema:<path to a asciicast file ending with .cast>)