feat(export): update html render
This commit is contained in:
parent
33f78ee207
commit
0a876e2f2b
10 changed files with 213 additions and 358 deletions
|
|
@ -8,6 +8,12 @@ pub struct Keyword<'a> {
|
|||
pub value: &'a str,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct BabelCall<'a> {
|
||||
pub key: &'a str,
|
||||
pub value: &'a str,
|
||||
}
|
||||
|
||||
impl Keyword<'_> {
|
||||
#[inline]
|
||||
// return (key, option, value, offset)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ pub use self::{
|
|||
headline::Headline,
|
||||
inline_call::InlineCall,
|
||||
inline_src::InlineSrc,
|
||||
keyword::Keyword,
|
||||
keyword::{BabelCall, Keyword},
|
||||
link::Link,
|
||||
list::{List, ListItem},
|
||||
macros::Macros,
|
||||
|
|
@ -56,7 +56,7 @@ pub enum Element<'a> {
|
|||
contents_end: usize,
|
||||
},
|
||||
BabelCall {
|
||||
value: &'a str,
|
||||
call: BabelCall<'a>,
|
||||
begin: usize,
|
||||
end: usize,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue