MartinPacker / MartinPacker/md2pptx

Feature Request: Full Mermaid support

Open
#228 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

difficult enhancement help wanted
Dominant language
Python
Stars
513
Forks
81
PR merge metrics
No merged PRs in 30d

Description

In order to use this for code planning and code descriptions I need to enhance this with Mermaid support. (I also plan code syntax highlighting.) I'm doing this on my own branch. The question is if I should upstream it?

First pass I got it working with pure python. However, it was limited and couldn't handle the full modern Mermaid suite of graphs, in particular the class diagrams. And while sequence diagrams are great I don't see a point in Mermaid to have another source of flowcharts, graphviz handled that better. So my second pass I'm reluctantly adding a npm and chromium (headless) reliance so I can use the latest Mermaid.js. This is still in progress so I can't demo the solution.

I'm doing this for my own use. But I would be happy to clean it up and package it for a PR if there is general interest in it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files or tests; start by reviewing the current pure-Python attempt and the proposed npm/Chromium integration. Confirm whether upstream Mermaid.js support is wanted, then define supported diagram types and packaging expectations before coding. Done would require a demonstrable, cleaned-up implementation, but the issue says it is still in progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.