Migrating Pandoc conversors.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2024-09-24 13:26:26 -05:00
parent ee80105f44
commit e4d0880fea

View File

@ -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 }