WIP
First, install Rust.
https://www.rust-lang.org/tools/install
```sh
$ cargo -v ```
Install nightly toolchain and set it to default.
sh
$ rustup install nightly
$ rustup default nightly
sh
$ rustup component add clippy --toolchain nightly
$ rustup component add rustfmt --toolchain stable
For Windows, install LLVM Pre-built binaries of Windows(32bit or 64bit).
sh
$ git clone https://github.com/toolbox-labo/md-design-doc.git
$ cd md-design-doc
.md
into .xlsx
```sh
$ cargo run --features excel -- [path(.md)] [rule path(.yml)]
$ cargo run --features excel -- test.md test_rule.yml ```
Fow now, the output file name is same as input file name .
sh
$ cargo test --features excel
If this is your first time, install required modules.
sh
$ cargo install grcov rust-covfix
To generate the coverage report,
sh
$ bash coverage.sh
It will be created to report
and you can see the whole coverage report by accessing report/index.html
.
WIP
```yml
doc: blocks: - title: Block Title 1 content: - column: No isNum: true - group: Variation columns: - column: Variation 1 md: Heading2 - column: Variation 2 md: Heading3 - column: Variation 3 md: Heading4 - column: Variation 4 md: Heading5 - column: Variation 5 md: Heading6 - column: Variation 6 md: Heading7 - column: Variation 7 md: Heading8 - column: Description md: List - column: Procedure md: List customPrefix: "+" - column: Tester md: List # You can also use any alphabets as custom prefix. customPrefix: "T" - title: Block Title 2 content: - column: No isNum: true - column: another block's column 1 md: Heading2 - column: another block's column 2 md: Heading3 ```
WIP
```markdown
```
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)cargo +stable fmt
)cargo clippy --features excel -Z unstable-options -- -D warnings
)cargo test --features excel
)git commit
). Please follow Angular Commit Message Format for your commit message.git push origin feature/AmazingFeature
)