mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 17:15:33 +00:00
remove regex dependency, rename constructor, implement zero-copy trait
This commit is contained in:
parent
7f3ea670f1
commit
96f7d648b6
3 changed files with 71 additions and 20 deletions
|
|
@ -36,7 +36,7 @@ fn gemtext() {
|
|||
// Parse document by line
|
||||
for line in gemtext.lines() {
|
||||
// Inline code
|
||||
if let Some(result) = Inline::from(line) {
|
||||
if let Some(result) = Inline::parse(line) {
|
||||
code_inline.push(result);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue