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
/* | |
Input: Roam Research's non-standard markdown. (copied from a roam page or export) | |
Output: Latex | |
The goal of this is to draft papers and other documents in Roam. | |
Thus, we export regular text, *not* a bullet list! | |
Reads from stdin, writes to stdout. | |
Example input: https://roamresearch.com/#/app/publicpages/page/WP7tXRTgK |
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 | |
CLEAR='\033[0m' | |
RED='\033[0;31m' | |
function usage() { | |
if [ -n "$1" ]; then | |
echo -e "${RED}👉 $1${CLEAR}\n"; | |
fi | |
echo "Usage: $0 [-n number-of-people] [-s section-id] [-c cache-file]" |