[tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread David Gifford
https://www.youtube.com/watch?v=6DNbwJN6FMg=1m11s On Wednesday, May 27, 2020 at 11:23:22 AM UTC-5, TiddlyTweeter wrote: > > Sorry, but the title was too inviting ... https://youtu.be/CK0JLpVed0Q > > On Wednesday, 27 May 2020 16:46:51 UTC+2, Kevin Kleinfelter wrote: >> >> I'm trying to convert

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
No problem. I was the one who convinced you to move to tiddlywiki/markdown.I might as well make sure it works for you. -- 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

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
Huh. I changed content-type to text and then back to markdown and now it (the old one) works. I'm going to guess it was a caching issue. ... and I've applied your v2, and that works too. Thank you for all your effort! On Wed, May 27, 2020 at 5:23 PM Flibbles wrote: > Odd. It's working for

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
Also, I've put more effort into it and have created the version of wrapper which is better tested, and supports hardbreak (putting spaces at the end of lines to force a linebreak). This is the one I'll be submitting in my PR. -- You received this message because you are subscribed to the

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
Odd. It's working for me. Are you certain you actually removed the .txt file extension? My operating system only pretended to when I first tried it just now. If you search for "wrapper" in your tiddlywiki, and you get a tiddler with a title that has a filepath relative to your operating

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
Hmmm... I'm not seeing any effect. I saved it as '$__plugins_tiddlywiki_markdown_wrapper.js.tid' in my tiddlers folder, and restarted TW. I do have a plugins/tiddlywiki/markdown/wrapper.js. Is that overriding the .tid maybe? If I hide it and restart, I lose rendering of Markdown. On Wed, May

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
This is because there's a bug in tiddlywiki/markdown where it's not properly respecting the *$:/config/markdown/breaks* tiddler. I'll submit a PR later today, but it'll probably take a while before it gets into master. Jermolene is still recovering. In the meantime, attached is a

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
Whoops! Typo: Kevin Kleinfelter 3:04 PM (0 minutes ago) to tiddlywiki 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

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
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

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
That would do it. I'm glad it's working out for you now. :) -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
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

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
Absolutely fantastic! Thank you. On Wed, May 27, 2020 at 1:53 PM Flibbles wrote: > \rules is pretty poorly documented, but here's the best I can give you >

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
\rules is pretty poorly documented, but here's the best I can give you . That's what documenation exists, the list of rules, and the relevant

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
Beautiful! Thanks to you both. Another question: I use KaTeX. anstosa seems to pass that through to KaTeX. The standard plugin doesn't. Perhaps there is a pragma? e.g. This should render as a formula: $$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$ Where can

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
Sorry. Make that this: .tc-tiddler-preview li > :first-child, .tc-tiddler-body li > :first-child { display: inline } If you do anything like * list items With multiple lines Like this * Or even * Multiple list Just make sure it's producing what you expect. -- You received this

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
@Saq Imtiaz: I think we just experienced a race condition with responding to Kleinfelter. Same answer asynchronously. @Kleinfelter: As for the paragraph break, turns out that's actually how Remarkable rolls. It treats all the content in as a block. BUT, I got good results by adding the

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Saq Imtiaz
the problem is that [[..]] is not valid markdown syntax for a link. To enable that format for a link with the official MD plugin follow these steps: edit the following shadow tiddler: $:/config/markdown/renderWikiTextPragma and replace the text with: \rules only html image macrocallinline

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
You can configure it to accept [[links like this]]. tiddlywiki/markdown disables a lot of wikipatterns, but you can reenable what you want. Just change $:/config/markdown/renderWikiTextPragma from \rules only html image macrocallinline syslink transcludeinline wikilink filteredtranscludeblock

Re: [tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Kevin Kleinfelter
Re: the quick note Thanks. I appreciate your work on relink-markdown. I'm just trialing the official Markdown based on you suggestion and I've run into a few issues with anstona. The issues I'm seeing with converting to the official plugin include: - Gotta change all my internal links from

[tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread TiddlyTweeter
Sorry, but the title was too inviting ... https://youtu.be/CK0JLpVed0Q On Wednesday, 27 May 2020 16:46:51 UTC+2, 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

[tw5] Re: Plugin Hotel California - Can't Disable Plugin

2020-05-27 Thread Flibbles
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