Open jthurst3 opened 9 years ago
It's probably because of \s
and \S
, which the 2005 sed doesn't support. bb also had this issue. I just pushed a sed-fix branch that uses [ \t]
instead. Does that work?
Doesn't seem to work. I get the same output.
sed: 1: "nav.html": invalid command code
looks like it's interpretting _nav.html as a command instead of as a filename. I'm replacing the filename now with <filename to put it in as stdin instead of as an argument. I'm testing with plan9 sed on Debian and see some other compatibility issues too.
How about now?
Compiles and generates the static pages, but it is not correctly displaying bold text. Here is some sample input and output:
sample.md
:
**This should be in bold.**
relevant part of sample.html
:
<p><strong></strong>This should be in bold.<strong></strong></p>
Ok, this would then be an issue with md2html.awk
. I'm not sure what to do about that, other than suggest using a different markdown-to-html tool.
Edit: squashed and rebased the sed-fix branch onto master.
Yeah, md2html.awk seems to be relying on some GNU awk feature. I see the same result as you when using plan9's awk. Do you have gawk?
I have a simple
_nav.txt
file that contains the following contents:After making a small modification to
faq.md
and runningmksite
, I get the following error:I believe this error is similar to what's described here, as I'm running on OSX and using BSD sed from May 10, 2005. Any ideas on how to fix?