1
0
Fork
You've already forked mycomarkup
0
A sensible markup language built for Mycorrhiza Wiki and Betula
  • Go 98.6%
  • Makefile 1.4%
2026年04月21日 19:34:24 +03:00
blocks Allow generic Mycomarkup in img descriptions 2023年11月29日 20:43:29 +03:00
cmd/mycomarkup Allow to create contexts from buffers and byte arrays 2022年08月22日 14:20:44 +05:00
genhtml Allow generic Mycomarkup in img descriptions 2023年11月29日 20:43:29 +03:00
links Add support for Betula in interwiki format strings 2023年08月06日 02:09:01 +05:00
mycocontext Introduce package ctxio 2022年08月22日 15:24:59 +05:00
options Canonize targets 2022年06月05日 15:30:49 +03:00
parser Fix issue parsing nested multiline list items 2026年04月19日 17:44:23 +03:00
temporary_workaround No, actually, move module to srht 2022年08月22日 01:47:39 +05:00
testdata Allow generic Mycomarkup in img descriptions 2023年11月29日 20:43:29 +03:00
tools Have significantly less ID:s 2023年02月01日 00:01:11 +05:00
util Actually detect URL:s in links more robustly 2023年01月31日 22:59:23 +05:00
.gitignore Fix cmd/mycomarkup being gitignored 2021年05月25日 12:17:20 +05:00
A New Kind of Mycomarkup.md Write a Markdown document 2023年02月01日 00:08:38 +05:00
go.mod No, actually, move module to srht 2022年08月22日 01:47:39 +05: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
LICENSE Create LICENSE 2021年05月11日 14:40:16 +05:00
Makefile Fix the ridiculous bug with { being able to be on different lines from img and table 2023年11月29日 20:14:19 +03:00
mycomarkup.go Have significantly less ID:s 2023年02月01日 00:01:11 +05:00
README.md Fix README.md 2026年04月21日 19:34:24 +03:00
Versioning.md Add that stupid thing and use it everywhere 2021年10月05日 22:56:34 +03:00

Mycomarkup

godocs.io

Mycomarkup is a markup language designed to be used in Mycorrhiza Wiki and Betula. This project is both a library for these projects 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.

We track tickets on SourceHut.

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 HTML code.

Embedding

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

When possible, integrate with the library rather than with CLI. Some features such as transclusion are not supported in CLI.

Contributing

We accept patches. Please run go fmt.