xoofx / xoofx/markdig

Rewriting HTML output - where to start?

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

Nobody has claimed this yet.

question
Dominant language
C#
Stars
5.3k
Forks
510
Avg merge
8d 5h
Merged PRs (30d)
5

Description

I need to add additional classes - the bootstrap extension is nice, but it is "only" doing "standard" bootstrap, which is not enough. I need in particular:

  • to add more .class depending on the context in markdown

Example would be to have a HR before the 2nd H2 to isolate the top paragraph, or another HR before the last H2.

  • rewrite the URL of images also based on context.

The use case here is to change the URL to be a specific size, depending on the context again - but mostly depending on the theme. Full original size is behind a click.

Contributor guide

Open the contributing guide

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

No files, tests, or entry points are named. Start by locating the bootstrap extension and HTML output pipeline, then clarify how contextual classes, HR elements, and image URL rewriting should be specified and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, csharp, html, markdown
Domain
tooling, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.