Wikifeat: wiki-like system that uses Commonmark


#1

Thought I’d share a little project I’m working on – Wikifeat: https://github.com/rhinoman/wikifeat

Wikifeat is a collaboration system that uses markdown/Commonmark as its markup language (as opposed to something like wikitext, which I dislike).

The backend is written in go and uses cmark (wrapped using go-commonmark), while the frontend uses commonmark.js for rendering ‘previews.’


#2

I wondered how you treat links to other wiki pages. The current demo of Wikifeat seems to not support easy linking by name. I expected some simple links such as [Some page] automatically link to en existing or new page with title “Some page”.


#3

@nichtich - Yes, easy internal linking is definitely on the todo list.


#4

@rhinoman if you implement an easy internal linking system, it’d be great (from my point of view) if you posted a status update here :- ) I’m also developing a wiki like application (see my profile) and I’m interested in ideas about how to link internally.


#5

Why reinvent a syntax when one is already established?

[[Page]]

works in both MediaWiki (Wikipedia) and gollum (GitHub). I suggest sticking with that, unless a substantially better alternative is proposed.

Somewhat related.


#6

I like the Gitit syntax which overrides normal Markdown link syntax by making empty URLs become wikilinks. Related discussion.


#8

I made a complete ass of myself in the last reply. My mistake stemmed from the fact that I had independently arrived at a similar syntax in my project, albeit with a slight variation: wiki-style links have empty link text rather than empty link.

I believe, however, that gitit’s author was similarly guided by his reluctance at introducing the required changes to the parser (I wasn’t sufficiently familiar with CommonMark.NET’s underpinnings at the time). IMHO such motivation shouldn’t apply to this discussion.


#9

@KajMagnus, that project of yours looks excellent!

I’m starting to look at the internal linking now. Hopefully I can come up with something decent. :slightly_smiling: