Skip to content

Commit

Permalink
Fix spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Nov 23, 2024
1 parent 83bdcae commit 2ec0751
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/weaver_forge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ comment_formats: # optional
shortcut_reference_links: <bool> # Convert inlined links into shortcut reference links (default: false).
indent_first_level_list_items: <bool> # Indent the first level of list items in markdown (default: false).
default_block_code_language: <string> # Default language for block code snippets (default: "").
use_go_style_list_indent: <bool>, # Whether to use different indent spacing for ordered and unorderd lists (default: false).
use_go_style_list_indent: <bool>, # Whether to use different indent spacing for ordered and unordered lists (default: false).

# Fields specific to 'html' format
old_style_paragraph: <bool> # Use old-style HTML paragraphs (default: false).
Expand Down
4 changes: 2 additions & 2 deletions crates/weaver_forge/src/formats/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ lists.
..WeaverConfig::default()
};
let renderer = MarkdownRenderer::try_new(&config)?;
let markdown = r##"It should handle wierdly split lists.
let markdown = r##"It should handle weirdly split lists.
## Unordered
Expand All @@ -1095,7 +1095,7 @@ lists.
let html = renderer.render(markdown, "go", None)?;
assert_string_eq!(
&html,
r##"It should handle wierdly split
r##"It should handle weirdly split
lists.
## Unordered
Expand Down
2 changes: 1 addition & 1 deletion crates/weaver_forge/src/formats/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn find_words_ascii_space_and_newline<'a>(
}

struct WordWrapContext {
// Mecahnism we use to split words.
// Mechanism we use to split words.
word_separator: WordSeparator,
// The limit of characters per-line.
line_length: Option<usize>,
Expand Down

0 comments on commit 2ec0751

Please sign in to comment.