# Snippets or simple macros

In my notes, I tend to use a boilerplate to write equations repeatedly

math
\begin{array}{rl}
//cursor goes here
\end{array}



It would be helpful if I could make my own custom macros similar to how I can make a bold text block with command-b.

Hi Abdul,

Thank you for the question.
That’s d be an advanced way to use Inkdrop.
You have to understand the APIs to hack it.
Actually you can do that by writing a custom script.
var cm = inkdrop.getActiveEditor().cm