Skip to content

Add markdown support#134

Open
codegirl-007 wants to merge 1 commit intoThePrimeagen:masterfrom
codegirl-007:mark-me-down
Open

Add markdown support#134
codegirl-007 wants to merge 1 commit intoThePrimeagen:masterfrom
codegirl-007:mark-me-down

Conversation

@codegirl-007
Copy link
Contributor

@codegirl-007 codegirl-007 commented Feb 23, 2026

This adds markdown support for 99, enabling AI-assisted editing for documentation, technical writing, and mixed content workflows.

Changes

  1. Language registration (state.lua) - Added "markdown" to supported languages
  2. Language module (language/markdown.lua) - Basic language interface
  3. Tree-sitter queries (queries/markdown/):
    • 99-function.scm - Treats headings and code blocks as editable units
    • 99-imports.scm - Extracts links as references
    • 99-scope.scm - Defines content boundaries

What It Enables

  • 9v on a heading -> AI edits the entire section
  • 9v in code block -> AI edits just the code
  • 9s -> AI sees current section + all links

@codegirl-007 codegirl-007 marked this pull request as ready for review February 23, 2026 09:46
@cursor
Copy link

cursor bot commented Feb 23, 2026

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 8.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@codegirl-007
Copy link
Contributor Author

I don't know if I'm going to be the only one that finds this useful. Can take it or leave it. :)

@XandeCommits
Copy link

This would be very useful!

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