A sensible markup language built for Mycorrhiza Wiki
 
 
Go to file
Timur Ismagilov 9524bf89b5 Fix context passing to transclusion 2022-06-06 17:22:51 +03:00
blocks Delete links.LegacyLink 2022-06-05 15:30:49 +03:00
cmd/mycomarkup Change version to v5 2022-06-05 15:30:49 +03:00
genhtml Fix context passing to transclusion 2022-06-06 17:22:51 +03:00
links Delete links.LegacyLink 2022-06-05 15:30:49 +03:00
mycocontext Change version to v5 2022-06-05 15:30:49 +03:00
options Canonize targets 2022-06-05 15:30:49 +03:00
parser Port inline links to that links.Link type 2022-06-05 15:30:49 +03:00
temporary_workaround Change version to v5 2022-06-05 15:30:49 +03:00
testdata Reinventing the link, port rockets to the new type 2022-06-05 15:30:49 +03:00
tools Make the link visitor work again 2022-06-05 15:30:49 +03:00
util Canonize stricter 2022-04-29 13:01:18 +03:00
.gitignore Fix cmd/mycomarkup being gitignored 2021-05-25 12:17:20 +05:00
LICENSE Create LICENSE 2021-05-11 14:40:16 +05:00
Makefile Reinventing the link, port rockets to the new type 2022-06-05 15:30:49 +03:00
README.md Change version to v5 2022-06-05 15:30:49 +03:00
Versioning.md Add that stupid thing and use it everywhere 2021-10-05 22:56:34 +03:00
go.mod Change version to v5 2022-06-05 15:30:49 +03:00
go.sum Move some stuff, fix the id attr, show an error when transcluding from CLI 2021-05-13 22:57:41 +05:00
mycomarkup.go Change version to v5 2022-06-05 15:30:49 +03:00

README.md

Mycomarkup

godocs.io

Mycomarkup is a markup language designed to be used in Mycorrhiza Wiki. This project is both a library for the wiki engine and a command-line tool for processing Mycomarkup files in other projects.

See the Mycorrhiza docs on the markup language itself. The rest of the document provides documentation on the library and the command only.

Also see our kanban board and this hypha.

Running

Usage of mycomarkup:
  -file-name string
        File with mycomarkup. (default "/dev/stdin")
  -hypha-name string
        Set hypha name. Relative links depend on it.

Set the parameters and run the program. The output will be written to stdout. The output is a poorly-formatted HTML code. In the future, more front-ends will be available.

Please note that transclusion is not supported in CLI.

Embedding

Mycomarkup provides an API for Go projects. Consult the docs and Mycorrhiza Wiki source code for inspiration.

Contributing

All pull requests are welcome. Feel free to open issues. Also, pay a visit to the Mycorrhiza Wiki Telegram chat. Also consider donating on Boosty.