Skip to content

arcandio/gw

Repository files navigation

GameWiki

A small python personal wiki using markdown, designed for speed and simplicity, especially during tabeltop rpg sessions.

Development Requirements

  • Python 3
  • PyQT 5
  • pip install markdown
  • pip install html2markdown
  • pip install pyinstaller
  • build: pyinstaller app.py
    • Have to move resources & .ui file to dist after package

Docs & notes

Algorithm for markdown parsing

  • 3-phase approach: completely split parsing into 3 separate functions that define discrete spaces
    • Container Parser
      • Parses line for container style markup only
      • Creates a visible container on screen, like a box
    • Block Parser
      • Parses line to find its block type
      • Restyles block as needed
        • Possibly changes block type or replaces it
        • Possibly restyles it via css
    • Inline Parser *

About

A wiki for ttrpg campaign management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published