Apply formatting to markdown code blocks #22470
amyreese
changed the title Ruffen docs prototype WIP: Ruffen docs prototype 48 days ago
amyreese
force pushed
from
f0fa410a
to
18cc1b26
41 days ago
Create new source types for markdown files
df5c04b6
Update source kind from path mapping
296d1011
Minimal prototype using regex
dc50d777
Map pyi code block to pyi source type
b6ab7fe8
Skip linting .md files for now
cd94b2dd
Use static lazy lock for markdown regex
d23610c3
amyreese
force pushed
from
18cc1b26
to
169bed3f
37 days ago
Gate formatting markdown on preview mode
9ea195a9
todos for markdown code block regex/parsing
15218347
Add markdown test fixture
0e787cbf
Simple CLI tests
a2c7b4fd
Fix markdown formatting on stdin, add stdin test
04d6636a
amyreese
force pushed
from
169bed3f
to
42b2ed41
37 days ago
amyreese
changed the title WIP: Ruffen docs prototype Apply formatting to markdown code blocks 37 days ago
test with relative paths
79b23a92
amyreese
marked this pull request as ready for review 37 days ago
Skip walking markdown files in ty
64bfbbaa
amyreese
force pushed
from
e637ac55
to
1c06408a
37 days ago
harupy
commented
on 2026-01-21
Refactor source type/kind usage
f130cdcd
Return better error types for unsupported range formatting and markdown
c019e1fa
ntBre
commented
on 2026-01-22
Use Self
4c5d4308
Updated snapshots
68b5f959
Add fixture path helper and default CRATE_ROOT filter
c456eed9
Move markdown bits into new ruff_markdown crate
a417da88
Add some tests, fix clippy
6be59478
Better wording for 'experimental' message
2c619379
Shortened fixture test cases
bdd7047f
Fix cargo files
1b699706
Drop source kind toml
341cfb36
amyreese
force pushed
from
a0509584
to
58e7bf6c
34 days ago
Include PySourceType in SourceKind::Python
364325d2
Update error messages
8ec6cccd
Update fixture and snapshots
7173d787
Remove trivia dep
def36410
snapshots
47f252d7
Loop over captures and use range replacement instead of replace_all
a3a2c562
Support unlabeled blocks, more tests
2ba6eb59
Only wrap a bool type for source kind python
48fc2f58
Update fuzz test
cde3adb3
amyreese
force pushed
from
c48dff72
to
cde3adb3
31 days ago
Get code range straight from regex
a61ab53d
clippy
80911e2b
ntBre
approved these changes
on 2026-01-26
static lifetime
7074b1a9
Call it PreviewFeature
cb1e0015
explicit match arms
56e9eb9c
zero ver
6f340cda
Build formatted string iteratively
d5f0a30d
Docs update
3fd00ded
Refactor match arms
ce978f86
use nested match statements
2060a2b9
Make SourceKind::Python a struct rather than tuple
d143fb19
Fuzz
0e5bbd34
amyreese
merged
ffa07b57
into main 30 days ago
amyreese
deleted the amy/ruffen-docs branch 30 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub