ericclemmons / ericclemmons/medium-to-markdown

Bug: italics not rendered properly in certain cases

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
31
Forks
11
PR merge metrics
No merged PRs in 30d

Description

url: https://medium.com/@almenon214/keeping-yourself-motivated-as-a-coder-a16a6fcf49c7

expected result:

> You could literally be doing *anything.*

Actual result:

> You could literally be doing *anything. *

This is a very understandable bug because the space after the period in the article is actually italicized (it's part of the em element). However for markdown the * needs to be right next to the word. A space inside it results in the stars be rendered as literal stars.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by converting the linked Medium article and compare the generated Markdown with the expected and actual examples in the issue. Trace the conversion path that handles italic text and verify that trailing spaces are excluded from the emphasis markers; done means the output matches the expected Markdown.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.