Skip to content
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

Showing highlighted code snippets #2

Open
M-Yankov opened this issue Dec 28, 2018 · 9 comments
Open

Showing highlighted code snippets #2

M-Yankov opened this issue Dec 28, 2018 · 9 comments
Assignees

Comments

@M-Yankov
Copy link
Owner

M-Yankov commented Dec 28, 2018

To be researched what is the best way to show high-lighted code snippets in a web page.
To research how most of the websites works like: stackoverflow, github, monaco-editor in read only mode?

Where the syntax high-lighting will be executed - on client - on server ?

Here are some resources:
https://stackoverflow.com/questions/6246245/using-syntax-highlight-from-github
https://github.com/github/linguist
http://pygments.org/
https://www.nuget.org/packages/pygments-net/
https://github.com/cvrajeesh/pygments-net

And is good to make repository in Github named: OpenDevBlog:
Make project there and add task for researching.

Related to #1

@M-Yankov M-Yankov self-assigned this Dec 28, 2018
@M-Yankov
Copy link
Owner Author

M-Yankov commented Jan 5, 2019

Check the code snippets here:
https://www.automatetheplanet.com/rules-design-pattern/

@M-Yankov
Copy link
Owner Author

More colored code snippets:
https://www.codebyamir.com/blog/create-excel-files-in-c-sharp

@M-Yankov
Copy link
Owner Author

M-Yankov commented Feb 16, 2019

This is used by dotnetcurry.com, https://www.hanselman.com/blog/
http://alexgorbatchev.com/SyntaxHighlighter/
https://github.com/syntaxhighlighter/syntaxhighlighter

Last commit is from Apr 10, 2017 (Updating ReadMe). No support.
It is little buggy, because when double click on the code snippet, all keywords loses their color.

@M-Yankov
Copy link
Owner Author

@M-Yankov
Copy link
Owner Author

@M-Yankov
Copy link
Owner Author

@M-Yankov
Copy link
Owner Author

https://enlighterjs.org/ --- Demo

@M-Yankov
Copy link
Owner Author

M-Yankov added a commit that referenced this issue Mar 30, 2019
Add front end libraries as library manager (libman) references. Restored on build.
M-Yankov added a commit that referenced this issue Mar 30, 2019
@M-Yankov
Copy link
Owner Author

M-Yankov pushed a commit that referenced this issue Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant