Hi Lluis

In https://github.com/llpamies/texdown there is a simple tiddlywiki plugin
> that combines Marked and TeXZilla engines as Radu was requesting. The fancy
> options available in Marked are not enabled, but it is easy to add, even
> configure it from the  tiddly wiki GUI.
>
> Is there any option to get that into the main tree?
>

Great, well done. I think this would be useful for the core, the only issue
is that you've implemented it as a parser module where I'd have expected it
to be a widget that works along the same lines as the current KaTeX plugin.
Was there a particular reason that you took this approach?

Assuming we resolve that, there are a few other things to be done:

* You'll need to sign the Contributors License Agreement, as described in
contributing.md in the TW5 repo
* Add a readme to the plugin
* Create a pull request that adds the plugin to `plugins/tiddlywiki`
* It would be useful to add a "LaTeX" tiddler to the tw5.com edition that
compares the capabilities of KaTeX and TeXZilla to help people choose which
is best for them

Best wishes

Jeremy.



> Best,
> Lluis
>
>
> On Monday, April 6, 2015 at 11:47:40 PM UTC-7, Jeremy Ruston wrote:
>
>> Hi Radu
>>
>> I'm probably just showing my ignorance here, but is there any chance this
>>> would work if the order in which the parsers act would be swapped? If the
>>> TeXZilla plugin does the correct job for the '$$' delimited blocks (i.e.
>>> produces html output for them while ignoring the rest of the text), is it
>>> possible that the Markdown plugin would just work if applied after that?
>>>
>>
>> Sadly not. Parsers in TW5 convert a stream of text into a parse tree
>> which is a hierarchical structure that represents the logical structure of
>> the text. The parse tree can't be fed back into another parser because the
>> parser will be expecting text.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>>
>>>
>>> Thanks again
>>> Radu
>>>
>>>
>>> On Monday, April 6, 2015 at 10:09:07 PM UTC+2, Jeremy Ruston wrote:
>>>>
>>>> Hi Radu
>>>>
>>>> Are there any solutions of having markdown and LaTeX rendering
>>>>> functional at the same time?
>>>>>
>>>>
>>>> Not at the moment, I'm afraid. It would need some hacking to the
>>>> Markdown parser to make it parse the $$ markers. The Markdown.js parser
>>>> that we use is not particularly actively developed:
>>>>
>>>> https://github.com/evilstreak/markdown-js
>>>>
>>>> We may be better off using a new alternative such as:
>>>>
>>>> https://github.com/chjj/marked
>>>>
>>>> It seems to be superior in a few ways (eg inclusion of "smarty pants"
>>>> quote handling).
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy.
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> Thank 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 email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at http://groups.google.com/group/tiddlywiki.
>>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>>> msgid/tiddlywiki/e6a8e640-5526-4ddb-894d-ec6afd8b4553%
>>>>> 40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/tiddlywiki/e6a8e640-5526-4ddb-894d-ec6afd8b4553%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jeremy Ruston
>>>> mailto:[email protected]
>>>>
>>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJb2Zs-7aeQO%3D5Xr23SqOkap5hSGn7t%3DTJt0XO%2B%3DAmr0%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to