Repository navigation
[BUG] TXT export uses generateMarkdown() β outputs markdown syntax instead of plain textΒ #359
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingcomponent:aiComponent: AI/LLM integrationComponent: AI/LLM integrationgssocOfficial GSSoC contribution issueOfficial GSSoC contribution issuegssoc:approvedGSSoC: PR approved and scoredGSSoC: PR approved and scoredlevel:intermediateDifficulty level: Intermediate (35 pts)Difficulty level: Intermediate (35 pts)size/Mtype:codeType: Code changeType: Code changetype:designType: Design / UI / UX (Optional bonus)Type: Design / UI / UX (Optional bonus)type:featureType: New FeatureType: New Feature
Description
Activity
- addedgssocOfficial GSSoC contribution issueOfficial GSSoC contribution issuegssoc:approvedGSSoC: PR approved and scoredGSSoC: PR approved and scoredbugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
on May 31, 2026 github-actions commented
on May 31, 2026 on May 31, 2026 β with GitHub ActionsContributorMore actionsπ Hi @nyxsky404, thank you for opening this issue! I have automatically assigned this issue to you since you raised it.
Please follow the contribution guidelines and submit a PR. Let us know if you need any assistance! π
Please consider starring the repository β to show your support!
- addedlevel:intermediateDifficulty level: Intermediate (35 pts)Difficulty level: Intermediate (35 pts)type:bugType: Bug Fix (Optional bonus)Type: Bug Fix (Optional bonus)type:featureType: New FeatureType: New Featuretype:designType: Design / UI / UX (Optional bonus)Type: Design / UI / UX (Optional bonus)type:codeType: Code changeType: Code changecomponent:aiComponent: AI/LLM integrationComponent: AI/LLM integration
on Jun 1, 2026 - removedenhancementNew feature or requestNew feature or requesttype:bugType: Bug Fix (Optional bonus)Type: Bug Fix (Optional bonus)
on Jun 1, 2026 - addedenhancementNew feature or requestNew feature or requesttype:bugType: Bug Fix (Optional bonus)Type: Bug Fix (Optional bonus)
on Jun 1, 2026 - added a commit that references this issue
on Jun 1, 2026 - removedenhancementNew feature or requestNew feature or requesttype:bugType: Bug Fix (Optional bonus)Type: Bug Fix (Optional bonus)
on Jun 1, 2026
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomponent:aiComponent: AI/LLM integrationComponent: AI/LLM integrationgssocOfficial GSSoC contribution issueOfficial GSSoC contribution issuegssoc:approvedGSSoC: PR approved and scoredGSSoC: PR approved and scoredlevel:intermediateDifficulty level: Intermediate (35 pts)Difficulty level: Intermediate (35 pts)size/Mtype:codeType: Code changeType: Code changetype:designType: Design / UI / UX (Optional bonus)Type: Design / UI / UX (Optional bonus)type:featureType: New FeatureType: New Feature
π Bug Description
The "Export as TXT" button in the dashboard export dropdown calls
generateMarkdown(state)and saves the result as a.txtfile. The output contains markdown formatting syntax (#,**,- [ ],_italics_) which is not appropriate for a plain text file.Affected file:
src/dashboard.tsβ lines 1038β1052The
generateMarkdown()function produces output like:This is markdown, not plain text.
π Steps to Reproduce
.txtfile#,**,- [ ],_) in the outputβ Expected Behavior
The TXT export should produce clean plain text without any markdown formatting:
β Actual Behavior
The TXT file contains raw markdown syntax that renders as formatting noise when opened in Notepad, TextEdit, or any plain text viewer.
π» Environment
π οΈ Suggested Fix
Create a separate
generatePlainText(state)function that strips markdown syntax:#headers with plain text + newlines**bold**with plain text- [ ]/- [x]with bullet points and status indicators_italics_with plain textOr apply a simple post-processing step to strip markdown from the output before saving as TXT.