Can this export from TiddlyWiki5 server version?
GitHub - oeyoews/tiddlywiki-markdown-importer-cli: tiddlywiki importer/exporter with markdown This repository may be what you want.
I just want to say that I really appreciate the Markdown export plugin. It (combined with good old Pandoc) has been much better for sharing individual tiddlers than the static HTML export.
Michael,
Thanks for reawakening this thread, This related thread was raised TW text formatting for common social media. How? - #5 by TW_Tones
This solution by @cdaven does this conversion from the rendered HTML version that may be fed into Pandoc. However it takes the extra step and converts this to Markdown which is also a Pandoc format available for conversion.
I also made a copy html to clipboard in the past.
The advantages of markdown export includes;
- It is the method used here in talk.tiddlywiki
- It is more common than tiddlywiki script (I would like to change this)
However in retrospect I would ask if @cdaven could consider one simple addition to his plugin and that is to provide an additional button, on tiddlers, that copies the markdown format, it currently generates to the clipboard (rather than export). This would allow;
- Quick per tiddler conversions without needing to access the file system
- Ease of conversion, then save in a Markdown tiddler in the same or other wiki (using the markdown plugin).
- Make use of for publishing etcâŚ
@cdaven I just noticed this plugin is hosted on TiddlyWiki version 5.2.3 and unfortunately this includes the bug that can stop the plugin been dragged and dropped, from Chrome to Firefox and possible elsewhere. If it could be updated to a 5.x would help people acquire you plugin more easily.
Hi @cdaven , your plugin is great! Thank you!
I notice some strange substitutions with katex, i export this code to markdown:
<$latex text="
\begin{aligned}
&h > 2 \times C \rightarrow \text{Sapata muito rĂgida ou bloco}\\
\frac{2}{3} \times C \le &h \le 2 \times C \rightarrow \text{Sapata rĂgida}\\
\frac{C}{2} \le &h < \frac{2}{3} \times C \rightarrow \text{Sapata semi-rĂgida}\\
&h < \frac{C}{2} \rightarrow \text{Sapata flexĂvel}
\end{aligned}">
</$latex>
And get this result:
$
\begin{aligned}
&h > 2 \times C \rightarrow \text{Sapata muito rĂgida ou bloco}\\
\frac{2}{3} \times C \le &h \le 2 \times C \rightarrow \text{Sapata rĂgida}\\
\frac{C}{2} \le &h < \frac{2}{3} \times C \rightarrow \text{Sapata semi-rĂgida}\\
&h < \frac{C}{2} \rightarrow \text{Sapata flexĂvel}
\end{aligned}$
I notice the symbols < or > are substituted by < and <, i can change this using the correct code in latex \lt or \gt, but the symbol & is needed to align the equation, so maybe the & symbol donât need to be substituted or parsed (i dont know what i talking about )
Second, i think the <$latex text="
needed to be show as:
$$
\begin{aligned}
&h \gt 2 \times C \rightarrow \text{Sapata muito rĂgida ou bloco}\\
\frac{2}{3} \times C \le &h \le 2 \times C \rightarrow \text{Sapata rĂgida}\\
\frac{C}{2} \le &h \lt \frac{2}{3} \times C \rightarrow \text{Sapata semi-rĂgida}\\
&h \lt \frac{C}{2} \rightarrow \text{Sapata flexĂvel}
\end{aligned}
$$
Look at my answer at the Willing to export "Tiddlers" into a web site template engine like Grav - #6 by Offray thread. Iâm using my own Brea instead of Jekill for static site publishing, but the part Iâm talking about regarding using, in the future, TW on Bun, takes inspiration of @cdavenâs work to smooth the publication workflow.