danestves / danestves/markdown-to-text

support for hyper links

Open
#18 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
28
Forks
9
PR merge metrics
No merged PRs in 30d

Description

IT IS THE only method works..you are the best

brother please add the feature to render links as hyperlink
case "link": {
consecutiveBreaks = 0;
const linkToken = token as [Tokens.Link](javascript:void(0););

children.push(
new Paragraph({
children: [
new Hyperlink({
children: [
new TextRun({
text: linkToken.text,
font: "Arial",
size: 24,
color: "0000FF", // Optional: Blue color for links
underline: true, // Optional: Underline for links
}),
],
href: linkToken.href,
}),
],
spacing: {
before: 60,
after: 60,
line: 300,
lineRule: "auto",
},
})
);
break;
}

Contributor guide

Open the contributing guide

Research direction

Start by locating the link-token handling shown in the issue and trace how parsed markdown tokens become output elements. Verify the expected hyperlink representation in the generated result, then run the repository's existing checks or tests if available; done means markdown links render as clickable hyperlinks rather than plain text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
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.