Open wujastyk opened 1 year ago
For non-TEI pages, the system expects markdown, so if you just use the markdown instead of HTML it should look right-ish.
I don't think that can be right. I've tried using markdown and it doesn't work (with either a .md or a .txt extension).
I have always written this file in markdown, exported it to HTML and then ftp'ed it to Saktumiva. Always worked just fine. Now, the file is there, as html, but it's not rendering as HTML, ut as plain text.
I tried saving your start.md
file as start.txt
and it worked. But your tables seem to be really wide because the links are in a different "Markdown" flavour... I guess DokuWiki expects MediaWiki style links or something (e.g., [[https://saktumiva.org/wiki/wujastyk/susrutasamhita/01-su.su-32-end/provisional-edition_sutrasthana-32-end?upama_ver=gv6fam6pom&upama_script=devanagari&upama_scroll=SS.1.41.1|41]]
)
I'm flummoxed by all this. For over a year, I think, I've been working fine with this procedure:
Clumsy, but it worked just fine. Until a week or two ago. I've never used .md files at Saktumiva. I'm sure you told me to use the above procedure, long ago (i.e., html content, file named .txt).
But now Saktumiva isn't rendering the html any more, just displaying as plain text. Something has definitely changed in Saktumiva's behaviour.
Since my .md files ("Github Flavoured Markdown" from Typora) aren't rendering properly, would it be possible to just have start.txt auto-redirect to an external website? Then I can do what I want on WordPress or Github. I tried the obvious <meta http-equiv="refresh" content="0;URL='http://thetudors.example.com/'" />
and it didn't work (because Saktumiva's not seeing it as HTML). Is there some other workaround?
Incidentally, this is what my .md file really looks like:
This same rendering can also be seen at Github.
Looking at what Saktumiva/Docuwiki is doing, it's emitting HTML content as preformatted code (<pre class="code">
):
<!-- ********** CONTENT ********** -->
<div id="dokuwiki__content"><div class="pad group">
<!--<div class="pageId"><span>wiki:wujastyk:susrutasamhita:start</span></div>-->
<div class="page group">
<!-- wikipage start -->
<div class="plugin_fastwiki_marker" style="display:none"></div><pre class="code">
Please go to https://github.com/wujastyk/sushrutaproject/blob/main/start.md</pre>
...
Hooray! Thank you, Charles. Everything is fine again.
Could you have a look at
It displays fine on my local system, but not on Saktumiva. File attached, as the MD source file and the exported html. start.md start.txt