chore: rename ctx to cx
This commit is contained in:
1 parent
23c14078bb
commit
81382e7044
99 files changed
+789
-664
No files matched your search
@@ -1,7 +1,7 @@
|
||||
use dioxus_ssr::prelude::{Context, VNode};
|
||||
|
||||
// Parse a snippet into
|
||||
pub fn markdown_to_snippet<'a, P>(ctx: Context<'a, P>, text: &str) -> Vec<VNode<'a>> {
|
||||
pub fn markdown_to_snippet<'a, P>(cx: Context<'a, P>, text: &str) -> Vec<VNode<'a>> {
|
||||
let snips = Vec::new();
|
||||
use pulldown_cmark::{Options, Parser};
|
||||
let mut options = Options::empty();
|
||||
|
||||
Reference in new issue
Block a user