-
-
Notifications
You must be signed in to change notification settings - Fork 802
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
Add support for org mode files #81
Comments
The formatting part, not too tough I suspect (at least for Markdown, not entirely sure about org mode). But how do you see this working? Actually implementing an functionality of org mode would be pretty difficult. Are you thinking just display only? |
Yes, displaying formatted text would be enough. I don't know if there are any Go modules for highlighting org mode syntax, I'm sure there must be something for displaying markdown in shell though. |
This package https://godoc.org/github.com/zyedidia/highlight provides syntax highlighting information, although a yaml file for Org is missing. They have given an example in their README which prints to the screen using the color package. I can contribute a widget using this that does what is shown in their example. Does this sound fine? Or I could also add this functionality to the https://github.com/senorprogrammer/wtf/blob/master/textfile/widget.go What would be better? |
Let's add it to |
And thanks for looking into this! It would be an awesome improvement. |
Have added this here: #250 Although, +1 for org mode, I have opened an issue at zyedidia/highlight#11 |
feat: Added syntax highlighting to textfile widget. #81
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Displaying correctly formatted org mode (or maybe even Markdown) files would be incredible.
The text was updated successfully, but these errors were encountered: