fix: outdent indented numbered-list items (3 tutorials)#2708
Open
jung-thomas wants to merge 1 commit into
Open
fix: outdent indented numbered-list items (3 tutorials)#2708jung-thomas wants to merge 1 commit into
jung-thomas wants to merge 1 commit into
Conversation
Sibling numbered-list items 2., 3., 4., and 6. were indented further than their preceding 1. (or 5.). CommonMark interprets that as a fresh nested <ol start=N>, which renders as a layout glitch on the new tutorial platform (sap-tutorials/tutorials-ims#168 — first reported on this very repo's abap-environment-create-cds-mde tutorial). Files changed (3 tutorials): - abap-environment-create-cds-mde: outdent 2. (L49, L66) from 4-space indent to flush-left - abap-environment-create-rap-business-events: outdent 3. (L57) and 4. (L66) from 2-space indent to flush-left - abap-environment-extend-cds-view: outdent 6. (L129) from 2-space indent to flush-left (matches siblings 1-5) Per-edit verification: each numbered marker is now flush with its '1.' (or matching) sibling. CommonMark continuation content (images, prose, sub-bullets) within each item retains its existing indent. Detected by: tutorials-ims/scripts/lint-tutorial-markdown.ts. Tracking: sap-tutorials/tutorials-ims#193.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Outdents 5 numbered-list items across 3 tutorials so they sit flush with their sibling
1.(or5.) instead of being interpreted by CommonMark as nested<ol start="N">items. Detected bytutorials-ims/scripts/lint-tutorial-markdown.tsand tracked in tutorials-ims#193.This repo's
abap-environment-create-cds-mdetutorial was the original report in tutorials-ims#168 — the layout glitch that triggered the platform-side fix and the author-side lint.Changes (3 tutorials)
abap-environment-create-cds-mde2.from 4-space indent to flush-left (matches sibling1.)abap-environment-create-rap-business-events3.and4.from 2-space indent to flush-leftabap-environment-extend-cds-view6.from 2-space indent to flush-left (matches siblings 1-5)Per-edit verification: each numbered marker is now flush with its
1.(or matching) sibling. CommonMark continuation content (images, prose, sub-bullets) within each item retains its existing indent so it remains attached to the right list item.How it was rendered before vs after
Before (CommonMark interpretation):
After:
Verification
Run
lint-tutorial-markdownagainst a fresh.tutorial-cache/after merge — these 3 tutorials should drop off the report.Related
abap-environment-create-cds-mde