Noted in the TiddlyWiki Toolmap 
<https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM> under "Interfacing with, 
importing and exporting to and from other formats"

On Tuesday, March 16, 2021 at 7:58:30 AM UTC-7 [email protected] wrote:

> Hi everyone, I’m fairly new to TW, and wanted to use Markdown while having 
> the ability to autocomplete links while creating a tiddler using the 
> markdown format: [text](link).
>
> I couldn’t find any reference on how to do this, so after a few trial & 
> error, this approach 
> <http://rasagy.in/wiki/#Autocomplete-links-for-markdown> worked out for 
> me. Sharing it here for others like me who might come to the forum looking 
> for tips.
>
> *Issue:* With the official Markdown plugin, I lost the ability to get 
> autocomplete for links (CTRL+L no longer works, no link button in the 
> toolbar).
>
> *Steps I followed:*
>
>    - Added official Markdown plugin 
>    
> <https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/markdown>
>  
>    + edit-ComptText <http://snowgoon88.github.io/TW5-extendedit/>
>    - 
>    
>    Set comptext as the editor for new markdown files by creating 
>    $:/config/EditorTypeMappings/text/x-markdown and adding comptext as 
>    the content. (Thanks to Saq’s comment in a previous thread 
>    <https://groups.google.com/g/tiddlywiki/c/DF20RJc5gqk/m/wVYt3DqnBAAJ>)
>    - 
>    
>    Edited the edit-CompText config 
>    
> <http://snowgoon88.github.io/TW5-extendedit/#%24%3A%2Fplugins%2Fsnowgoon88%2Fedit-comptext%2Fexamples>
>  to 
>    have the following template*: { "pattern": "[[", "filter": 
>    "[all[tiddlers]!is[system]]", "start": "[](#", "end": ")", "startOffset" : 
>    1 }
>    
> Now when I create a new markdown tiddler, typing [[ shows the 
> autocomplete popup, adds it in markdown style: [](#tiddler-link) and 
> places my cursor at the alias position.
>
> You can just copy paste my config 
> <http://rasagy.in/wiki/#%24%3A%2Fplugins%2Fsnowgoon88%2Fedit-comptext%2Fconfig>
>  from 
> my TW-instance if you’re not familiar with editing json files, or try it 
> out there (it’s hosted via Github Pages).
>
> Cheers,
> --
> Rasagy
>

-- 
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/aa1ab1ba-93df-4f0b-bee8-3c5920d77fd2n%40googlegroups.com.

Reply via email to