Skip to content

vzsky/apl-obsidian

Repository files navigation

APL Code for obsidian

render apl nicely

APL is a programing language, litterally.

TLDR; this plugin render the tick notation like this

(+/`-`")`j`i 100

into this

(+/÷≢)∘⍳ 100

using the RIDE convention.

The plugin works on codeblocks where the language is apl

Usage

put the string into a block with language set to apl, like this Screenshot 2566-07-20 at 14 51 24 and the plugin will render the corresponding APL unicodes.

Examples

by writing the tick symbol following a character, it renders the corresponding apl unicode. like this average function

Screenshot 2566-07-20 at 14 13 07

or the variance function

Screenshot 2566-07-20 at 14 24 42

It can also render box, but it should be manually drawn or copied from RIDE.

Screenshot 2566-07-20 at 14 12 54 Screenshot 2566-07-20 at 14 12 59

Installation

Apart from the plugin, you need to separately install the APL385 font. This is not required for unicode rendering, but it will look ugly without it.

Thanks

Thanks to https://github.com/secwang/espanso-apl-keyboard/blob/main/base.yml for providing the mapping to APL unicodes.