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
Hey!
Just started using this library and loving it so far!
I am running into an issue and was wondering if this was intentional or not.
When converting a Page with Child Pages with toMarkdownString() (config option separateChildPage = true), there is no markup left in the parent page content indicating that a the child page was there.
From the example:
The current output is:
{
"parent": "\nThis is parent page content \n\n\nback to the parent page\n\n [...rest of the output...],
"Level 1 page: ": "\nThis is a level 1 page [..rest of the output...]
}
However, in my situation it would ideal if the output look like this:
{
"parent": "\nThis is parent page content \n\n**[Level 1 page](/level-1-page)**:\nback to the parent page\n\n [...rest of the output...],
"Level 1 page: ": "\nThis is a level 1 page [..rest of the output...]
}
The markup it self doesn't have to exacly this but the ability to add a reference to the child page would be amazing.
@damourChris apologies for the super late response. I'm working on the version 4 and would love to have your feedback on how this specific use case can be added to v4.
here is the discussion link: #112
Hey!
Just started using this library and loving it so far!
I am running into an issue and was wondering if this was intentional or not.
When converting a Page with Child Pages with toMarkdownString() (config option
separateChildPage = true
), there is no markup left in the parent page content indicating that a the child page was there.From the example:
The current output is:
{
"parent": "\nThis is parent page content \n\n\nback to the parent page\n\n [...rest of the output...],
"Level 1 page: ": "\nThis is a level 1 page [..rest of the output...]
}
However, in my situation it would ideal if the output look like this:
{
"parent": "\nThis is parent page content \n\n**[Level 1 page](/level-1-page)**:\nback to the parent page\n\n [...rest of the output...],
"Level 1 page: ": "\nThis is a level 1 page [..rest of the output...]
}
The markup it self doesn't have to exacly this but the ability to add a reference to the child page would be amazing.
Is this intentional or a missing feature?
Implementing this would (I believe) look like this: https://gist.github.com/damourChris/f3de3c46378a8e3ab169ea4055fb2c22
Thank for you work!
The text was updated successfully, but these errors were encountered: