xoofx / xoofx/markdig

Strip markdown while keeping URLs

Open
#882 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I want to remove markdown while still enable user to follow links.

I.e. I want

**bold text**  [link](https://example.com)

to be rendered into something that keeps "example.com"

bold text  link (https://example.com)

Use case: sending some user-generated content like "comment" in plain text email

How I can achieve this? I'm ready to develop extension.

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

Start by reviewing Markdig's extension mechanism and the issue's markdown example to determine how plain-text output is produced. Done means the example preserves the link URL while removing markdown formatting, with coverage or documented usage for this behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.