Skip to content

Fix #43 and #67: Fix extraction of '# 'lines inside code blocks#131

Open
kip2 wants to merge 1 commit intolynchjames:mainfrom
kip2:fix-issue-43-67
Open

Fix #43 and #67: Fix extraction of '# 'lines inside code blocks#131
kip2 wants to merge 1 commit intolynchjames:mainfrom
kip2:fix-issue-43-67

Conversation

@kip2
Copy link

@kip2 kip2 commented May 5, 2025

Summary

Fixes #43 and #67.

This pull request addresses an issue where lines starting with # inside code blocks were incorrectly extracted and converted into WikiLinks.
These lines should be ignored during heading extraction.

Changes

  • Updated the heading extraction logic to skip lines that start with # inside fenced code blocks.

Related Issues

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.

When there are spaces in the code block, there will be problems with truncation. Note refactor takes comments in code blocks as headings

1 participant