MycorrhizaWiki does not offer any advanced text editor, all it has is a simple textarea. It is enough for most use cases but it may be too basic for some tasks. This hypha collects ways to use other text editors.
Some browser extensions let you use different editors. For example, Surfing keys lets you use some form of Vim instead of textareas. To activate it, press
I and then select the textarea.
w3m is a terminal text browser available for many platforms. MycorrhizaWiki supports it.
o, options shall be opened
Scroll to section External Program Settings
Type in your editor command on line Editor
Now, whenever you select textareas through the browser, your editor starts.
You can automate editing procedures with HTTP API. For example, you want to add a line to hypha named Apple.
curl, grab current text of the hypha using this command:
The text shall be printed to
stdout. It can be empty, of course.
curl, upload changed text to the hypha using this command:
curl -X POST -F 'text=</path/to/text/file' -F 'action=Save' http://wiki/upload-text/art
Some HTML-formatted output will be printed. Read it manually, yes.
curl documentation for more information.