Skip to content

Commit

Permalink
feat(markdown): support markdown grammar code generation (#3775)
Browse files Browse the repository at this point in the history
  • Loading branch information
suxin2017 authored Sep 18, 2024
1 parent 1599555 commit 2c8ff7f
Show file tree
Hide file tree
Showing 30 changed files with 5,714 additions and 6 deletions.
36 changes: 36 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ biome_json_factory = { version = "0.5.7", path = "./crates/biome_json_
biome_json_formatter = { version = "0.5.7", path = "./crates/biome_json_formatter" }
biome_json_parser = { version = "0.5.7", path = "./crates/biome_json_parser" }
biome_json_syntax = { version = "0.5.7", path = "./crates/biome_json_syntax" }
biome_markdown_factory = { version = "0.0.1", path = "./crates/biome_markdown_factory" }
biome_markdown_parser = { version = "0.0.1", path = "./crates/biome_markdown_parser" }
biome_markdown_syntax = { version = "0.0.1", path = "./crates/biome_markdown_syntax" }
biome_yaml_factory = { version = "0.0.1", path = "./crates/biome_yaml_factory" }
biome_yaml_parser = { version = "0.0.1", path = "./crates/biome_yaml_parser" }
biome_yaml_syntax = { version = "0.0.1", path = "./crates/biome_yaml_syntax" }
Expand Down
20 changes: 20 additions & 0 deletions crates/biome_markdown_factory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
authors.workspace = true
categories.workspace = true
description = "Utilities to create Markdown AST for biome_markdown_parser"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "biome_markdown_factory"
repository.workspace = true
version = "0.0.1"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
biome_markdown_syntax = { workspace = true }
biome_rowan = { workspace = true }

[lints]
workspace = true
6 changes: 6 additions & 0 deletions crates/biome_markdown_factory/src/generated.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#[rustfmt::skip]
pub(super) mod syntax_factory;
#[rustfmt::skip]
pub mod node_factory;

pub use syntax_factory::MarkdownSyntaxFactory;
Loading

0 comments on commit 2c8ff7f

Please sign in to comment.