-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown in chat #1558
Labels
App:Frontend
Kind:Enhancement
Improvements, new features, performance upgrades, etc.
Note:UI/UX
Priority:High
Comments
taoeffect
added
Kind:Enhancement
Improvements, new features, performance upgrades, etc.
Note:Up-for-grabs
App:Frontend
Priority:High
Note:UI/UX
labels
Apr 26, 2023
I think |
@taoeffect If you would like to track the commit history for my weekly Todos, the feature branch is: |
[ DEV MEMO ] |
taoeffect
pushed a commit
that referenced
this issue
Jan 23, 2024
* add markdown-it pkg to the project and make sure it works * try slack-style markdown plugin * optimise the convertToMarkdown() function * switch from markdown-it to marked (zero-dependency pkg) * define a custom renderer function that converts *string* to <strong>string</strong> * style the <code> and <pre><code></code></pre> in the generated markdown outcome * add more style declarations for markdown elements * enable <del> tag / specify target='_blank' to <a> tag output * add various call-to-action btns for transforming to markdown in SendArea.vue * add a couple of more cta btns * implement transformTextSelectionToMarkdown() method * create injectOrStripSpecialChar() func for logic that injects special characters * implment inject link element to the target string * move the link cta to the last in the line * move the primary call-to-actions next to the send btn / add style ctas to the edit mode too * fix issue with the nested markdown styles / switch gfm on * work on more feedback items * delete the test file * work on more change requests
Closed by @SebinSong in #1815! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
App:Frontend
Kind:Enhancement
Improvements, new features, performance upgrades, etc.
Note:UI/UX
Priority:High
Problem
We have no way of styling chat.
Solution
Support basic markdown rendering.
This will obviously need a new dependency. The usual rules for adding new dependencies apply:
The text was updated successfully, but these errors were encountered: