Skip to content

Conversation

@laurelschmidt
Copy link
Contributor

Add a flag for the markdown renderer, renderLinksInFooter, that can be used to render link definitions in the footer of the document, rather than inline.

Example usage:

renderer := NewRenderer()
renderer.WithOpts(&RendererOptions{Flags: flags})
result := markdown.Render(input, renderer)

Example input:
"This is an example and another website."
Example output:
"This is an example and another website.

"

@laurelschmidt
Copy link
Contributor Author

Resolves #342

@laurelschmidt laurelschmidt marked this pull request as draft July 29, 2025 14:50
@kjk kjk marked this pull request as ready for review July 31, 2025 18:23
@kjk kjk merged commit 5d03d19 into gomarkdown:master Jul 31, 2025
1 check passed
@kjk
Copy link
Contributor

kjk commented Jul 31, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants