MartinPacker / MartinPacker/mdpre

Make `mdpre -m` Emit A Dependency Tree - As Comments

Open
#55 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
13
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Today specifying -m as a parameter to mdpre creates a make file fragment from all the observed dependencies - whether text embeds or graphics referenced.

In my current co-authored Markdown document there are numerous files calling numerous other files. Getting the embed structure of the document is tedious.

It would be nice to have -m emit a tree of dependencies - commented so that make doesn't try to process them.

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

Start at the mdpre entry point that handles the -m option and inspect how observed text and graphics dependencies are turned into the current make file fragment. Update the output so the dependency relationships appear as a commented tree that make will not process, then verify it with a document containing nested embeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.