More question:
This works with KaTeX, whether content-type is set to TW5 or Markdown.
- $$\ce{CO2 + C -> 2 CO}$$
With type=text/vnd.tiddlywiki, the following works, but with
text/x-markdown it just shows up as text (without the $$):
- $$\ce{CO2 + C -> 2 CO}$$
So it looks like the pragma latex-parser is only working for single-line
LaTeX. Is there further magic which can be worked to make multi-line LaTeX
work?
On Wed, May 27, 2020 at 2:23 PM Kevin Kleinfelter <
[email protected]> wrote:
> Back to my original question regarding disabling the plugin, I think I
> know what happened.
>
> I think I must have visited the $:/plugins/anstosa/tw5-markdown tiddler,
> and opened+saved the shadow
> tiddler $:/plugins/anstosa/tw5-markdown/wrapper.js.
>
> That would cause a $__plugins_anstosa_tw5-markdown_wrapper.js file to be
> created. When I disabled the plugin via Control Panel, it only
> disabled $:/plugins/anstosa/tw5-markdown and not the 'realized' shadow
> tiddler.
>
> On Wed, May 27, 2020 at 12:09 PM Flibbles <[email protected]>
> wrote:
>
>> I'm not able to replicate this problem. The only file trying to load
>> tw5-markdown/highlight.js is tw5-markdown/wrapper.js. If you remove the
>> plugin altogether, it should allow your server to boot.
>>
>> (Just a quick note though. If migrating becomes too much of an issue,
>> relink-markdown will work with anastosa. I just reached my own opinion that
>> the core markdown plugin is better after peering under both their hoods.)
>>
>> On Wednesday, May 27, 2020 at 10:46:51 AM UTC-4, Kevin Kleinfelter wrote:
>>>
>>> I'm trying to convert from using anstosa/tw5-markdown to the markdown
>>> plugin in the TW plugin library.
>>>
>>> I'm running a node.js Tiddlywiki. I have anstosa/tw5-markdown installed
>>> "in the browser". I went to TW Control Panel and pressed the Disable
>>> button for $:/plugins/anstosa/tw5-markdown. That disabled it, as expected.
>>>
>>> But when I restart node.js, my TW fails to start due to "Cannot find
>>> module '$:/plugins/anstosa/tw5-markdown/highlight.js'". In order to work
>>> around it, I have to delete
>>> $__config_Plugins_Disabled_$__plugins_anstosa_tw5-markdown.tid
>>>
>>> I need to disable (or delete) tw5-markdown without making my wiki
>>> un-startable.
>>>
>>> It looks like I'm going to need to manually tell it not to try and load
>>> $:/plugins/anstosa/tw5-markdown/highlight.js. That *is* a shadow tiddler
>>> provided by the plugin. It looks like disabling the plugin hides the
>>> shadow tiddler, but something is still trying to load it.
>>>
>>> Any suggestions as to how I might find/disable that attempt to load
>>> $:/plugins/anstosa/tw5-markdown/highlight.js?
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/2I1U1tHWb9g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/a4c00432-e54c-4d5f-b743-27b548760570%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/a4c00432-e54c-4d5f-b743-27b548760570%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/CAKBuMvJ4c4ipofGNFxJDA4dFQK2q8vNjOEWSzt6NeF_m4T_y1w%40mail.gmail.com.