Skip to content

feat: add mark plugin support with test enhancements#73

Merged
geopanther merged 3 commits into
mainfrom
feat/mark-plugin-highlighting
Jun 12, 2026
Merged

feat: add mark plugin support with test enhancements#73
geopanther merged 3 commits into
mainfrom
feat/mark-plugin-highlighting

Conversation

@geopanther

@geopanther geopanther commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Description

Implement mark plugin (==text==) support in Confluence renderer and enhance test coverage.

Changes

  • feat: Add mark() method to ConfluenceRenderer

    • Renders ==text== syntax as yellow highlighted spans
    • Uses inline Confluence-compatible styling
  • test: Enhance test_plugins.md showcase

    • Add bold/italics formatting examples for clarity
    • Expand math section with inline/block variations and edge cases
    • Document dollar sign handling in prices and multi-line formulas
    • Clarify abbreviation behavior with inline comments

Testing

Run full rendering test:

mdfluence --space '<your-space-here>' --top-level test_package/functional/test_plugins.md

Checklist

  • Changes are atomic and well-organized
  • Test coverage demonstrates functionality
  • Commit messages follow conventional format

Implement mark() method in ConfluenceRenderer to render ==text== syntax
as yellow highlighted text using inline Confluence style.
- Add bold/italics formatting examples for clarity
- Expand math section with inline/block variations and edge cases
- Document dollar sign handling in prices and multi-line formulas
- Clarify abbreviation behavior with inline comments
Changed expected substring from '<mark>' to 'background-color: #ffe59a;' to
verify the mark plugin renders highlighted text with inline CSS styling.
@geopanther
geopanther merged commit 6c5c4ea into main Jun 12, 2026
5 checks passed
@geopanther
geopanther deleted the feat/mark-plugin-highlighting branch June 12, 2026 14:54
geopanther added a commit that referenced this pull request Jun 13, 2026
Mark/highlight plugin (#73) landed after the 0.4.0 tag but was listed
under the 0.4.0 release section. Move it to Unreleased > Added.
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.

1 participant