Add databake support
This commit is contained in:
parent
5336755cbd
commit
baf0fe08ef
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ impl<'a> Bake for RichText<'a> {
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
|
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
|
||||||
#[cfg_attr(feature = "databake", derive(databake::Bake))]
|
#[cfg_attr(feature = "databake", derive(databake::Bake))]
|
||||||
#[cfg_attr(feature = "databake", databake(path = cosmic_jotdown::JotdownItem))]
|
#[cfg_attr(feature = "databake", databake(path = cosmic_jotdown))]
|
||||||
pub struct JotdownItem<'a> {
|
pub struct JotdownItem<'a> {
|
||||||
pub indent: Indent,
|
pub indent: Indent,
|
||||||
#[cfg_attr(feature = "serde", serde(borrow))]
|
#[cfg_attr(feature = "serde", serde(borrow))]
|
||||||
|
|
Loading…
Reference in a new issue