You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Split the document into sections.
Describe alternatives you've considered
hello there, happy new year!
I was wondering if we could discuss a way to implement sections into the plugin.
I can visualize two possible paths:
1 - Pass an array of SectionTuple to mdastToDocx which in turns pass to convertNodes at the ctx param:
Describe the solution you'd like
Split the document into sections.
Describe alternatives you've considered
hello there, happy new year!
I was wondering if we could discuss a way to implement sections into the plugin.
I can visualize two possible paths:
1 - Pass an array of
SectionTuple
tomdastToDocx
which in turns pass toconvertNodes
at thectx
param:Then
convertNodes
return a reduced array of sections based ontitle
and pageheading
:The
sectionsTuples
should not be required, and theconvertNodes
function should still return thenodes
as is in a standard way.2 - Implement a frontmatter definition. For that we would need to finish the implementation of
yaml
andtoml
:I believe that going both ways in parallel would be cool as it would add more versatility to the plugin. What do you think about?
The text was updated successfully, but these errors were encountered: