Auto sync: 2025-09-05 11:32:23 (1 files changed)

M  lua/custom/journal.lua
This commit is contained in:
Dane Sabo 2025-09-05 11:32:23 -04:00
parent db646e9880
commit ba34fc82a5

View File

@ -107,6 +107,7 @@ local function compile_journal()
-- Build pandoc command -- Build pandoc command
local config_args = table.concat(config_lines, " ") local config_args = table.concat(config_lines, " ")
local output_file = journal_dir .. "/compiled_journal.pdf" local output_file = journal_dir .. "/compiled_journal.pdf"
print(journal_dir)
local cmd = string.format( local cmd = string.format(
"cd '%s' && find . -name 'JRNL-*.md' | sort | xargs cat | pandoc %s -o '%s'", "cd '%s' && find . -name 'JRNL-*.md' | sort | xargs cat | pandoc %s -o '%s'",
journal_dir, journal_dir,