#[cfg(feature = "markdown")]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! md_fmt {
($($arg:tt)*) => {
$crate::markdown(format!($($arg)*))
};
}
#[cfg(all(feature = "markdown", not(feature = "markdown-compile")))]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdprint {
() => {
print!()
};
($($arg:tt)*) => {
print!("{}", $crate::markdown(format!($($arg)*)))
};
}
#[cfg(all(feature = "markdown", not(feature = "markdown-compile")))]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdprintln {
() => {
println!()
};
($($arg:tt)*) => {
println!("{}", $crate::markdown(format!($($arg)*)))
};
}
#[cfg(feature = "markdown-compile")]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdprint {
() => {
print!()
};
($fmt:literal) => {
print!("{}", $crate::markdown!($fmt))
};
($fmt:literal $($rest:tt)*) => {
print!("{}", $crate::markdown(format!($fmt $($rest)*)))
};
}
#[cfg(feature = "markdown-compile")]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdprintln {
() => {
println!()
};
($fmt:literal) => {
println!("{}", $crate::markdown!($fmt))
};
($fmt:literal $($rest:tt)*) => {
println!("{}", $crate::markdown(format!($fmt $($rest)*)))
};
}
#[cfg(all(feature = "markdown", not(feature = "markdown-compile")))]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdeprint {
() => {
eprint!()
};
($($arg:tt)*) => {
eprint!("{}", $crate::markdown(format!($($arg)*)))
};
}
#[cfg(all(feature = "markdown", not(feature = "markdown-compile")))]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdeprintln {
() => {
eprintln!()
};
($($arg:tt)*) => {
eprintln!("{}", $crate::markdown(format!($($arg)*)))
};
}
#[cfg(feature = "markdown-compile")]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdeprint {
() => {
eprint!()
};
($fmt:literal) => {
eprint!("{}", $crate::markdown!($fmt))
};
($fmt:literal $($rest:tt)*) => {
eprint!("{}", $crate::markdown(format!($fmt $($rest)*)))
};
}
#[cfg(feature = "markdown-compile")]
#[deprecated(
since = "0.18.0",
note = "use the `inline` feature, it works with the `c*` family. will be deleted at 0.19 stable"
)]
#[macro_export]
macro_rules! mdeprintln {
() => {
eprintln!()
};
($fmt:literal) => {
eprintln!("{}", $crate::markdown!($fmt))
};
($fmt:literal $($rest:tt)*) => {
eprintln!("{}", $crate::markdown(format!($fmt $($rest)*)))
};
}