-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
If a language tag is present, we currently won't end up going anything, i.e this test will fail:
#[test]
fn language_specific_formatting() -> Result {
Test::new()?
.markdown(
r#"
```rust present echo "fn main() { println!(\"Hello, World!\"); }"
```
"#,
)
.expected_status(0)
.expected_stdout(
r#"
```rust present echo "fn main() { println!(\"Hello, World!\"); }"
fn main() { println!("Hello, World!"); }
```
"#,
)
.run()
}We can make it pass by looking for a subset of keywords as language tags, and then doing the entire parse -> command interpolation flow.
Metadata
Metadata
Assignees
Labels
No labels