Skip to content

Add markdown task descriptions#23

Open
TN0721 wants to merge 1 commit into
CodeBountyOrg:mainfrom
TN0721:codex/markdown-task-descriptions
Open

Add markdown task descriptions#23
TN0721 wants to merge 1 commit into
CodeBountyOrg:mainfrom
TN0721:codex/markdown-task-descriptions

Conversation

@TN0721
Copy link
Copy Markdown

@TN0721 TN0721 commented May 26, 2026

Closes #3

Adds optional multi-line task descriptions with sanitized basic Markdown rendering.

Changes:

  • Adds an optional task description textarea
  • Persists task descriptions in localStorage
  • Renders basic Markdown for bold, italic, inline code, links, and paragraphs
  • Builds Markdown output with DOM nodes so raw HTML is rendered as text
  • Filters unsafe links and opens safe links in a new tab
  • Adds ESLint 9 flat config so the existing lint script runs

Verification:

  • npm run lint
  • node --check src/app.js
  • node --check src/tasks.js
  • node --check src/markdown.js
  • npx prettier --check index.html styles.css src/app.js src/tasks.js src/markdown.js README.md eslint.config.cjs
  • git diff --check

@codebounty-dev-bot
Copy link
Copy Markdown

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

👋 Hey @TN0721: 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

1 participant