What is Nostr?
[yaseenist] Julia :verified_trans: /
npub1hhu…h49a
2023-06-21 02:48:48

[yaseenist] Julia :verified_trans: on Nostr: For the model of my mfm parser, should I do this: pub enum Node { Bold { children: ...

For the model of my mfm parser, should I do this:

pub enum Node {
Bold { children: ... },
Italic { children: ... },
// ...
}or:

pub enum Node {
Bold(BoldNode),
Italic(ItalicNode),
// ...
}
Author Public Key
npub1hhuwd2wgtxcrkgsczvtdpafw3p4xtuf54d2s937hacn9n2vggzdqdph49a