fix: resolving inconsistencies in the information structure of list bullets #374
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
HTML has regular lists (li) and ordered lists (ol), both of which can be expressed in Markdown.
In addition, the notation “a.” and “b.” is not specified in the Markdown specification and is not supported by goldmark. There are no extensions either. Therefore, the processing that parses this as the parsing specification in
package md
is unnecessary, so it has been removed.(By the way, in HTML, you can use the type attribute of ol to display “a.” and “b.”)
In Google Slides, there are two types of bullets: regular and numbered. Alpha is just one way to express numbered bullets.
Therefore, we renamed BulletNumber to BulletNumbered, deleted BulletAlpha, and merged it into BulletNumbered.
This makes it easier to compare the information structure between Markdown and Google Slides.
Originally, BulletAlpha was never used in normal cases, so there are no compatibility changes in behavior.
(In Markdown, there was no such notation as “a.”, and there was no code to handle BulletAlpha when converting from Google Slides to Slide objects.)