Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numbered lists don't continue #35

Closed
JenniBeadle opened this issue Jan 3, 2023 · 6 comments
Closed

Numbered lists don't continue #35

JenniBeadle opened this issue Jan 3, 2023 · 6 comments

Comments

@JenniBeadle
Copy link

JenniBeadle commented Jan 3, 2023

Describe the bug
Numbered lists restart at 1 after subheading even when given a specific starting number after the heading.
Having just looked at the Notion markdown, I think it may be a Notion bug not a docu-notion bug.

Reproduction Steps
I have 25 chapters in my Paratext Manual. In the overview I break them up into sections but need the sequential numbering to continue so it shows correct chapter number.
Add a numbered list with headings.
Edit each list item after the heading with the number to continue.
Notion displays correctly.
But the resulting page restarts the numbering.

URL of a source Notion page that, when docu-notion accesses or converts it, shows the problem:
Notion: https://jennibeadle.notion.site/Overview-of-Training-Manual-3ce84f9ca3264aed8532489c0574f95c
Resulting page: https://sillsdev.github.io/paratext-manual/Overview/

Expected behavior
Numbering should continue (as per my other Docusaurus site.
https://manual.paratext.org/Training-Manual/Overview

Notion markdown
The notion markdown still has 1.

### Stage 1 Drafting

1. 2. **[OD** – Organising your desktop](https://sillsdev.github.io/paratext-manual/2.OD)
2. **[PP1** – Project plan and progress](https://sillsdev.github.io/paratext-manual/3.PP1)

I added the 2. to specify to continue from 2 but it still has the 1.
I corrected the markdown and pasted it again but it added the 1. again.

Screenshots
In Notion: showing the continuer set
image

Result of Docu-notion (showing restart as 1):
image

Site using Markdown (sequential):
image

Additional context
I searched for possible solutions.
https://stackoverflow.com/questions/18088955/markdown-continue-numbered-list/22138846#22138846
suggested putting a blank link before the element (in their case a code block) but had no effect.

@hatton
Copy link
Member

hatton commented Jan 3, 2023

Yeah, this was reported to Notion here, and I also tried with Notion's email support back in October, but didn't get anywhere.

@hatton
Copy link
Member

hatton commented Jan 3, 2023

I did have success indenting the text.

image

Yielded
image

Which was rendered as

image

@JenniBeadle
Copy link
Author

Not sure about indenting headings. But I guess I could turn the headings into text and bold them.

@JenniBeadle
Copy link
Author

Doesn't work with non-indented bold text blocks. :(

@hatton
Copy link
Member

hatton commented Jan 27, 2023

Notion wrote back saying that they are not going to fix this in the API. So without that, we can't support this, sorry.

@hatton hatton closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2023
@hatton
Copy link
Member

hatton commented Jun 16, 2023

Anyone having this problem, please make yourself heard by writing to Notion. They rejected my request for a fix, but said that they might act on it if more people asked. So please ask! See: makenotion/notion-sdk-js#292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants