From e4d0880fead682e3a29a137913b2d19b23beaba4 Mon Sep 17 00:00:00 2001 From: Offray Date: Tue, 24 Sep 2024 13:26:26 -0500 Subject: [PATCH] Migrating Pandoc conversors. --- src/MiniDocs/Pandoc.class.st | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MiniDocs/Pandoc.class.st b/src/MiniDocs/Pandoc.class.st index 192ba51..4af7a83 100644 --- a/src/MiniDocs/Pandoc.class.st +++ b/src/MiniDocs/Pandoc.class.st @@ -147,10 +147,11 @@ Pandoc class >> markdownToHtmlOnUnix: inputFile [ outputFile := inputFile parent / (inputFile basenameWithoutExtension , '.html'). outputFile ensureDelete. outputFile ensureCreateFile. - ^ GtSubprocessWithInMemoryOutput new + GtSubprocessWithInMemoryOutput new shellCommand: 'pandoc -f markdown+startnum+task_lists --standalone -t html ', inputFile fullName, ' --output ', outputFile fullName; runAndWait; - stdout + stdout. + ^ outputFile fullName. ] { #category : #converters }