fix(Pandoc): Enable raw_attribute in markdown.
Enabling this makes the way I write pages more functional inside of pandoc. In future I may add some way of allowing users to provide pandoc arguments.
This commit is contained in:
parent
5d79026135
commit
ca84cafbdb
|
|
@ -150,6 +150,7 @@ public static class Conversions{
|
||||||
Log.Warning("Pandoc template for {file} not found",file.Name);
|
Log.Warning("Pandoc template for {file} not found",file.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pandocArgs += " --from markdown+raw_attribute ";
|
||||||
if (!Directory.Exists(Path.GetDirectoryName(GetNewName(file,settings,".html"))))
|
if (!Directory.Exists(Path.GetDirectoryName(GetNewName(file,settings,".html"))))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(Path.GetDirectoryName(GetNewName(file,settings,".html"))!);
|
Directory.CreateDirectory(Path.GetDirectoryName(GetNewName(file,settings,".html"))!);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user