dynamic-cli
dynamic-cli copied to clipboard
Syntax highlighting, Questions(along with the answers) and Proper line breaks
💥 Proposal
This is one of the results from a search in the dynamic-cli:
As you can see the syntax highlighting is not very prominent among a few other issues - so I would like to propose the following changes:
- Better syntax highlighting (preferrably with a contrasting color)
- If user searches for a query/phrase/keyword, it is better to include the questions along with answers as well - Right now only the answers' source links are provided, which might force the user from quitting the terminal and heading over to the site straightaway - which violates the main objective of this application.
- Also as a user, I would like to have a proper demarcation(preferrably line breaks) between any 2 answers. Right now we are just providing a series of dashes(---).
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Sorry @lakshyajit165, We are using the rich module for rendering markdown. I don't think that is possible. Still we can try
@pranavbaburaj if this rich module is open source we can try tweaking it acc. to our own requirements and then include that in this project.
@pranavbaburaj if this rich module is open source we can try tweaking it acc. to our own requirements and then include that in this project.
If that is the case, it will be good if you create the same issue in that repo - rich
@pranavbaburaj Do you have any suggestion, If we can move to another module than rich?
@pranavbaburaj Do you have any suggestions, If we can move to another module than rich?
I will try to find one
You can try using terminal_markdown_viewer. This one looks promising in terms of syntax highlighting.
@OBITORASU This looks really cool.