1
API should have the ability to keep the state of collapsed headings
Source: outline/outline#5854 · opened by @sorvis
I have a page which we need to update every release so I have automation with a webhook to update the page. The first issue is that we want to add the new release to the top of the page not at the bottom of the page so I have to pull the whole page and send the whole page back to the api instead of just calling the append api.
We have noticed though that when we run the script which is pushing the whole page back to outline plus the new prefix to the page all the previous headings that we had set as collapsed are now expanded.
Would there be an approach to include that expanded / collapsed state in the markdown so that when the page is pulled from the api then pushed that state will be remembered?
We have noticed though that when we run the script which is pushing the whole page back to outline plus the new prefix to the page all the previous headings that we had set as collapsed are now expanded.
Would there be an approach to include that expanded / collapsed state in the markdown so that when the page is pulled from the api then pushed that state will be remembered?
No pledges yet. Be the first to back this.
Comments
Similar requests
Make headings within other elements (e.g. quotes or info / tip notices) collapsible
1 vote · 0 comments
"Expand/Collapse all" Headings
8 votes · 0 comments
Don't show all headings on the table of contents of each page
1 vote · 0 comments
Add toggle lists
3 votes · 0 comments
Add Numbered headings
4 votes · 0 comments
No comments yet.