dotnet / dotnet/docfx

[Feature Request] Add MarkdownContext to BuildOptions.ConfigureMarkdig

Open
#9,970 0 comments 0 reactions 0 assignees View on GitHub
markdown
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 9m
Merged PRs (30d)
11

Description

**Is your feature request related to a problem? Please describe.**
When creating custom extensions, I want to have access to the markdown context for things like the `getToken` function, which would allow to add translations for the plugins in the `token.json`

**Describe the solution you'd like**
Add a new parameter in `ConfigureMarkdig` Func of type MarkdownContext

**Describe alternatives you've considered**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Start by locating BuildOptions.ConfigureMarkdig and the MarkdownContext type, then inspect how custom extensions receive configuration. Confirm the intended callback signature and identify related coverage; done when custom extensions can access MarkdownContext through ConfigureMarkdig and the behavior is tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, markdown
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.