What's a good wiki system for personal notes?

I am looking for a simple flat-file system with markdown formatting.
A static website generator like Pelican (local only) seems good enough, but it may be limited for a wiki.

Update:

I'll stick to #Pelican and activate the Markdown extension "Wikilinks" (like [[link name]]), and it's pretty much sufficient.

https://docs.getpelican.com

Other more qualified apps would be #Joplin, #Turtl, #Zettlr, #Obsidian.

Pelican 4.11.0

Pelican is a static site generator, written in Python. Highlights include: Write your content directly with your editor of choice in reStructuredText or Markdown formats, Includes a simple CLI tool...

PELICAN
@GullumLuvl what qualifies as a wiki? I started using #obsidian last week, and so far i find it pleasant for note taking. It has good support for links across notes, and seems to just be markdown files.

@nikostr Thanks for the recommendation, it's not the first time I hear about it, gotta check it out.
I guess it should just have these features: internal links and a rather pretty rendering (for maths and code). And a good way to classify and search content (tags, nested hierarchy, index and tables of content...).

In my case, I like to edit files with my own text editor, so flat files should be accessible directly.