Skip to content

Conversation

Songmu
Copy link
Collaborator

@Songmu Songmu commented Aug 18, 2025

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.)

@Songmu Songmu changed the title Resolving impedance mismatch in list bullets fix: esolving impedance mismatch in list bullets Aug 18, 2025
@Songmu Songmu changed the title fix: esolving impedance mismatch in list bullets fix: resolving impedance mismatch in list bullets Aug 18, 2025
Copy link
Contributor

Code Metrics Report

main (bf73fa0) #374 (51ed5e9) +/-
Coverage 31.7% 31.7% +0.0%
Code to Test Ratio 1:0.8 1:0.8 -0.1
Test Execution Time 11s 9s -2s
Details
  |                     | main (bf73fa0) | #374 (51ed5e9) |  +/-  |
  |---------------------|----------------|----------------|-------|
+ | Coverage            |          31.7% |          31.7% | +0.0% |
  |   Files             |             26 |             26 |     0 |
  |   Lines             |           3066 |           3060 |    -6 |
- |   Covered           |            972 |            971 |    -1 |
- | Code to Test Ratio  |          1:0.8 |          1:0.8 |  -0.1 |
  |   Code              |           6299 |           6289 |   -10 |
- |   Test              |           5481 |           5464 |   -17 |
+ | Test Execution Time |            11s |             9s |   -2s |

Code coverage of files in pull request scope (38.9% → 39.0%)

Files Coverage +/- Status
apply.go 1.3% +0.0% modified
convert.go 0.0% 0.0% modified
md/md.go 75.8% +0.1% modified
slide.go 66.2% -0.2% modified

Reported by octocov

@Songmu Songmu changed the title fix: resolving impedance mismatch in list bullets fix: resolving inconsistencies in the information structure of list bullets Aug 18, 2025
@Songmu Songmu merged commit 665d5f4 into main Aug 18, 2025
1 check passed
@Songmu Songmu deleted the bullet branch August 18, 2025 16:05
@github-actions github-actions bot mentioned this pull request Aug 18, 2025
@Songmu
Copy link
Collaborator Author

Songmu commented Aug 18, 2025

ref. #371

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

Successfully merging this pull request may close these issues.

1 participant