Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 71 additions & 4 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ authors = ["Amelia Cuss <[email protected]>"]
rust-version = "1.62.1"
description = "A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter"
documentation = "https://docs.rs/comrak"
homepage = "https://hrzn.ee/kivikakk/comrak"
repository = "https://hrzn.ee/kivikakk/comrak"
homepage = "https://github.com/kivikakk/comrak"
repository = "https://github.com/kivikakk/comrak"
readme = "README.md"
keywords = ["markdown", "commonmark"]
license = "BSD-2-Clause"
Expand Down
2 changes: 1 addition & 1 deletion examples/iterator_replace.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
extern crate comrak;
use comrak::nodes::NodeValue;
use comrak::{format_html, parse_document, Arena, Options};
use ntest::{assert_false, assert_true};

fn replace_text(document: &str, orig_string: &str, replacement: &str) -> String {
// The returned nodes are created in the supplied Arena, and are bound by its lifetime.
Expand Down Expand Up @@ -36,6 +35,7 @@ fn main() {
#[cfg(test)]
mod tests {
use super::*;
use ntest::{assert_false, assert_true};

#[test]
fn sample_replace() {
Expand Down
Loading