Skip to content

Add markdown support - #134

Closed
codegirl-007 wants to merge 1 commit into
ThePrimeagen:masterfrom
codegirl-007:mark-me-down
Closed

codegirl-007 wants to merge 1 commit into
ThePrimeagen:masterfrom
codegirl-007:mark-me-down

Conversation

@codegirl-007

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

Copy link
Copy Markdown
Contributor

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

cursor Bot commented Feb 23, 2026

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

This would be very useful!

@ThePrimeagen

Copy link
Copy Markdown
Owner

i have removed all things to do with languages

this was removed a while ago as fill in function has been stripped away!

@codegirl-007

Copy link
Copy Markdown
Contributor Author

i have removed all things to do with languages

this was removed a while ago as fill in function has been stripped away!

oh. must have been before I updated with the latest. Oopsies.

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.

3 participants