Skip to content

Commit d69023f

Browse files
Gareth Aneurin TribelloGareth Aneurin Tribello
authored andcommitted
Exposed interface to process markdown
1 parent 3afa05f commit d69023f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "PlumedToHTML"
8-
version = "0.103"
8+
version = "0.104"
99
description = "A package for creating prettified HTML for PLUMED files"
1010
authors = [{ name = "Gareth Tribello", email = "[email protected]" }]
1111
maintainers = [{ name = "Daniele Rapetti", email = "[email protected]" }]

src/PlumedToHTML/PlumedToHTML.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def compare_to_reference( output, reference ) :
527527

528528
return True
529529

530-
def processMarkdown( filename, plumedexe, plumed_names, actions, jsondir="./" ) :
530+
def processMarkdown( filename, plumedexe, plumed_names, actions, jsondir="./", ghmarkdown=True ) :
531531
"""
532532
Process a markdown file that contains PLUMED input files using PlumedtoHTML
533533
@@ -548,7 +548,7 @@ def processMarkdown( filename, plumedexe, plumed_names, actions, jsondir="./" )
548548
if dirname=="" : dirname = "."
549549

550550
with open( filename, "w+" ) as ofile:
551-
ninputs, nfail = processMarkdownString( inp, filename, plumedexe, plumed_names, actions, dirname, ofile, jsondir )
551+
ninputs, nfail = processMarkdownString( inp, filename, plumedexe, plumed_names, actions, dirname, ofile, jsondir, ghmarkdown )
552552
return ninputs, nfail
553553

554554
def processMarkdownString( inp, filename, plumedexe, plumed_names, actions, dirname, ofile, jsondir="./", ghmarkdown=True ) :

0 commit comments

Comments
 (0)