Skip to content

[ai_docs] strip pymdownx attribute blocks from inline links in output#37

Merged
eshaben merged 1 commit intomainfrom
eshaben/remove-target-balnks
Apr 6, 2026
Merged

[ai_docs] strip pymdownx attribute blocks from inline links in output#37
eshaben merged 1 commit intomainfrom
eshaben/remove-target-balnks

Conversation

@eshaben
Copy link
Copy Markdown
Collaborator

@eshaben eshaben commented Apr 1, 2026

Removes {target=\_blank} from resolved markdown files.

This attribute is unnecessary and in the .jsonl output json.dumps escapes every backslash per the JSON spec, so \_blank in the markdown source becomes \\_blank in the file. Now we do not have to worry about this at all.

@eshaben eshaben requested review from 0xlukem and aljosamakevic April 1, 2026 13:51
Copy link
Copy Markdown
Contributor

@0xlukem 0xlukem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! just need to update the toml file :)

Copy link
Copy Markdown
Contributor

@0xlukem 0xlukem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@eshaben eshaben merged commit 1835734 into main Apr 6, 2026
@0xlukem 0xlukem deleted the eshaben/remove-target-balnks branch April 6, 2026 21:06
@eshaben eshaben mentioned this pull request Apr 9, 2026
5 tasks
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