Skip to content

test: add regression test for #1388 - #1538

Closed
Anjaliavv51 wants to merge 2 commits into
google:mainfrom
Anjaliavv51:Anjaliavv51-patch-2
Closed

Anjaliavv51 wants to merge 2 commits into
google:mainfrom
Anjaliavv51:Anjaliavv51-patch-2

Conversation

@Anjaliavv51

Copy link
Copy Markdown

Adds a regression test covering the scenario reported in #1388.

When a markdown file contains a list item with continuing prose indented by 2 spaces (preceded by a blank line), the prose should be preserved as comments with '// ' prefix rather than emitted as raw JavaScript code.

The test verifies that:

  1. The 2-space indented prose ('This assumes you have a local node running') is correctly prepended with '// '.
  2. The nested fenced bash block is properly transformed into an awaited $` invocation.

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