This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker-compose file for running paperless from the docker container registry. | |
# This file contains everything paperless needs to run. | |
# Paperless supports amd64, arm and arm64 hardware. | |
# All compose files of paperless configure paperless in the following way: | |
# | |
# - Paperless is (re)started on system boot, if it was running before shutdown. | |
# - Docker volumes for storing data are managed by Docker. | |
# - Folders for importing and exporting files are created in the same directory | |
# as this file and mounted to the correct folders inside the container. | |
# - Paperless listens on port 8000. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
: ' | |
Pretty roughly converts a single folder of notes from Obsidian/Zettlr markdown | |
(markdown + wikilinks) to HTML with pandoc. The real trick here is | |
re-converting WikiLinks back into something that pandoc will work with. | |
It does not handle percent-encoding for characters other than spaces for | |
filenames or headers. | |
' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
:' | |
Matching: | |
\[\[ inside of double bracket literals | |
( capture... | |
[^ all characters that are not.. | |
\[\| left bracket or pipe literal | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
: ' | |
Context: Trying to use VimWiki in conjuction with Obsidian. Markdown links | |
are frequently interpreted as broken in Obsidian so Im switching back to | |
WikiLinks. This script successfully converted nearly all markdown links in a | |
modestly sized wiki | |
' | |
: ' |