Commit 52e9eeb
xxwhirlpool
·
2025-10-22 19:05:44 -0400 EDT
parent 5ad84fb
fixes for md2html
1 files changed,
+6,
-2
+6,
-2
| ... | ... | @@ -4,14 +4,14 @@ | |
| 4 | 4 | # can read from STDIN or file | |
| 5 | 5 | # | |
| 6 | 6 | # this is a *very* opinionated script, using: | |
| 7 | - | # gum, bat, perl, and xclip | |
| 7 | + | # gum, bat, perl, openssl, and xclip | |
| 8 | 8 | # pandoc is mandatory!!! | |
| 9 | 9 | # edit to suit your system | |
| 10 | 10 | ||
| 11 | 11 | # functions | |
| 12 | 12 | read() { | |
| 13 | 13 | # declare some vars | |
| 14 | - | MDFILE="/tmp/$(today time && openssl rand -hex 5).md" | |
| 14 | + | MDFILE="/tmp/$(openssl rand -hex 5).md" | |
| 15 | 15 | HTMLFILE="${MDFILE%.*}.html" | |
| 16 | 16 | HTMLFILE_FINAL="${HTMLFILE%.*}_final.html" | |
| 17 | 17 | # prompt user to paste markdown formatted text, then write it to a temp file |