Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Support for double square bracket wikilinks to other txt files?
-
I was wondering if support for double square bracket WikiLinks is in the road map. I enjoy keeping a markdown wiki with Gollum through Github or Bitbucket and with nvAlt on my desktop and they all support linking to other text files in the same folder or sub-folders by referencing the name of the txt, md, or markdown file between double square brackets.
Thoughts?
-
This is a feature I would love.
I currently use my own workflow for a markdown HTML preview with links. However, I would rather use the standard Editorial preview (with its standard interface and custom markdown formatting). So it would be great if links were supported in the preview.
There is an issue that would have to be resolved though. The preview previews the current editor file, so there are two choices:
- Should should the editor follow link traversal (to ensure the preview matches the currently edited file - as now)
- Or should the link traversal be independent of the editor's file (that is how my HTML workflow works)
I prefer the second option as it allows me to browse my notes, but realise this doesn't fit with the current preview paradigm.
Either way, this feature would be great.
Martin
-
This can be done using an "Open Document" action and using RegEX to find any text with a particular extension and then opening the corresponding document.
You can also use HTML tags in markdown, along with javascript. Of course, I am sure Python can handle it too.
I will see if I can get it started.
-
Someone named whyldkard made a workflow called Wiki Links.
What I have also discovered is that the following will open a local file with a markdown link
[file.md](editorial://open//file.md?root=local)
If you wanted to use Dropbox
[file.md](editorial://open//file.md?root=dropbox)
Looks like I have to rethink how I am going to do this. This should make things easier.
-
You can also run workflows from markdown links with:
[Format](editorial://?command=Format)
Where "Format" after "command" is the name of the workflow.
That workflow could open a specified document.