Skip to content

Add sanitized markdown task descriptions#24

Open
Thanhdn1984 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Thanhdn1984:susan/fix-markdown-descriptions-3
Open

Add sanitized markdown task descriptions#24
Thanhdn1984 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Thanhdn1984:susan/fix-markdown-descriptions-3

Conversation

@Thanhdn1984
Copy link
Copy Markdown

Fixes #3

Summary

  • add optional multi-line task descriptions
  • render basic markdown: bold, italic, links, inline code, line breaks
  • sanitize generated markup and force links to open in a new tab with noopener noreferrer

Validation

  • node --check src/app.js
  • node --check src/markdown.js
  • node --check src/tasks.js
  • python3 -m http.server 8137 + curl http://127.0.0.1:8137/

Note: npm run lint currently cannot run because the repo uses ESLint v9 but has no eslint.config.* file.

@codebounty-dev-bot
Copy link
Copy Markdown

⚠️ Attention Sponsor: This PR was submitted by @Thanhdn1984 who has not applied for this bounty (#3). Please verify if you want to consider this contribution.

👋 Hey @Thanhdn1984: This issue has a bounty on CodeBounty! To be eligible for the reward, please sign up on CodeBounty and apply for this bounty. If you apply, your PR will be automatically associated with your application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix markdown rendering in task descriptions

2 participants