https://github.com/ire4ever1190/simple-macros
Provides a way of providing simple latex like macros
https://github.com/ire4ever1190/simple-macros
Last synced: 6 months ago
JSON representation
Provides a way of providing simple latex like macros
- Host: GitHub
- URL: https://github.com/ire4ever1190/simple-macros
- Owner: ire4ever1190
- Created: 2022-12-27T21:46:01.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-28T00:25:06.000Z (almost 3 years ago)
- Last Synced: 2025-02-07T17:45:59.014Z (8 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple macros
Adds in LaTeX like text replacement macros. Very basic at the moment since its a rushed job but I'll clean it up later
Just install plugin manually. Go to settings and then add in key -> replacement that you want.
Arguments can be used in replacement which are numbered by their index (e.g. $0, $1)Example is
- Key field `elem`
- Value field `[\<$0\>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/$0)`Then in your markdown file you can do `elem{div}` and it will create a link to MDN for the div element