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

fix/indented code parsing #358

Closed
wants to merge 6 commits into from
Closed

fix/indented code parsing #358

wants to merge 6 commits into from

Conversation

Mpdreamz
Copy link
Member

  • Add anchors to link json artifact
  • rename union creation methods
  • add license headers
  • make links on object holding anchors
  • dotnet format
  • Add tests for nested and indented inline anchors

Refactored `LinkReference` to use a dictionary for better anchor tracking and adjusted anchor validations. Added extensive test coverage, revamped test setup, and improved generator logic for markdown files.```
Introduced new tests to verify inline anchor generation within definition lists and indented code blocks. Ensures proper HTML output and validates parsing behavior to prevent future regressions.

This removes indented code support from our parsers.

The problem was that during our minimal parse phase anchors that lived in indented code (lists/definition lists) was not discovered because they were marked as part of an indented code block.

Removing support for indented code blocks since all code should be included through fenced blocks.
@Mpdreamz Mpdreamz added the fix label Jan 28, 2025
@Mpdreamz Mpdreamz closed this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant