You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to do finalize a translation we will need to parse the markdown in words.md into html. I was expecting that pandoc would work out of the box but apparently this is not the case. I was able to get what appears to be a good parsing (with footnotes) using the following:
We added to our Italian translation (#3) repo, a build command that streamlines the update of index.html (it calls pandoc with appropriate parameters and manages automatically the cut and paste inside article). It seems to be working fine.
Since it might be useful for other, you find it here with discussion on how to use it here.
I would like to add a tip: if you install pandoc (especially if just for this project, but once you install it you will probably want to have it forever anyway), just get the binaries. Compiling it requires an unreasonable amount of dependencies (and time).
In order to do finalize a translation we will need to parse the markdown in
words.md
into html. I was expecting that pandoc would work out of the box but apparently this is not the case. I was able to get what appears to be a good parsing (with footnotes) using the following:This was supposed to work but did not work for me.
For the above recipes see discussion here: https://stackoverflow.com/questions/39220389/embed-indented-html-in-markdown-with-pandoc
In order for the above to work correctly I had also to substitute
. . .
with<p>. . .</p>
inwords.md
.Are there any better solutions out there? Would be worthwhile adding something like this to the how-to-translate instructions?
Awesome work btw!
The text was updated successfully, but these errors were encountered: