javascript-tutorial / javascript-tutorial/engine

Space characters stripped from code snippets

Open
#43 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
25
Forks
28
PR merge metrics
No merged PRs in 30d

Description

Leading/trailing space characters in code snippets in the source `.md` files are not preserved, e.g. '`; ` ' gets translated to `;`. See for example at https://javascript.info/cookie#reading-from-document-cookie. This is issue in cases when they're needed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the handling that converts source .md code snippets into HTML, then reproduce the example from javascript.info/cookie#reading-from-document-cookie. Done means leading and trailing spaces in code snippets remain present in the generated output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.