4 ms·
Quick Tip for your <figure> inconvenience with markdown: Just write a script that copies whatever is in your clipboard to a ./images/ directory and replace th
by jfkimmes 5y ago
Quick Tip for your <figure> inconvenience with markdown:
Just write a script that copies whatever is in your clipboard to a ./images/ directory and replace the content of your clipboard with the markdown you usually write pointing to that image. See my hacky version, here [1]. I have that on a keyboard shortcut but you can also just alias/source it and run it when needed.
[1]: https://gitlab.com/jfkimmes/dotfiles/-/blob/master/scripts/markdown_image_include.sh https://gitlab.com/jfkimmes/dotfiles/-/blob/master/scripts/m...
(this requires an `activate` command that symlinks my current project directory to a path in my home directory so that all my scripts can work there. You can probably make this more elegant but it works for me.)