-
Notifications
You must be signed in to change notification settings - Fork 274
Enhanced Text Editor Functionality #21
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
Comments
Can highlightjs highlight editable text? |
No, but the recommended method is to built the text editor + a preview. Much like github comments work. The "Write" tab and "Preview" tab. The idea behind syntax highlighting is it can help identify errors in the nginx .conf file. Sublime text editor offers this and it's helped me quite a bit, as I often forget punctuation marks to complete each line. |
tbh, I think most of the time, the config will be written elsewhere and copy pasted into anyways. |
Today I’ll try to finish the syntax highlighting and send pull request |
Hey @kennyparsons, great proposal with the multiple tabs. Had already started a first attempt with highlightjs in realtime to highlight the written code but this was connected with too many side-effects. Tab support is already solved by me and will be in the next release. If @foozzi implements a solution for hightlightning I will be happy to have a look at it. |
#24 @schenkd and please delete this line a65f145#diff-d13e648c450173d77b5e04da795274fdR17 |
You should really look into this library.... EDIT: Nevermind, looks like foozzi implemented that library. GJ |
maybe we could use Monaco the vscode editor |
Would be great if the text editor was enhanced to support things like tabbing and basic syntax highlighting. Syntax highlights can be accomplished with https://highlightjs.org/
The text was updated successfully, but these errors were encountered: