Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor link / image plugins #168

Merged
merged 3 commits into from
Jul 7, 2023
Merged

Conversation

mark-meyer
Copy link
Contributor

This refactors the original plugin for processing links/images into separate plugins. This now allows links and images that are inline <a> and <img> tags in .mdx files. This should allow local absolute images and links (those with src/href beginning with "/") to still work on cloud.gov feature branches.

For images it will also add the appropriate css class, but only for markdown links, since this easy to explicitly see with inline anchors and you may want more flexibility in these cases.

@mark-meyer mark-meyer merged commit a4ca1f2 into main Jul 7, 2023
1 check passed
@mark-meyer mark-meyer deleted the mmeyer/refactor-link-plugin branch September 11, 2023 19:17
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