Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sakryukov/code-publishing
Utility for publishing code articles in a manner similar to CodeProject
https://github.com/sakryukov/code-publishing
html-css-javascript publishing syntax-highlighting
Last synced: about 1 month ago
JSON representation
Utility for publishing code articles in a manner similar to CodeProject
- Host: GitHub
- URL: https://github.com/sakryukov/code-publishing
- Owner: SAKryukov
- License: apache-2.0
- Created: 2024-11-04T03:47:37.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-21T06:29:22.000Z (about 2 months ago)
- Last Synced: 2024-11-21T07:28:22.109Z (about 2 months ago)
- Topics: html-css-javascript, publishing, syntax-highlighting
- Language: JavaScript
- Homepage: https://www.SAKryukov.org
- Size: 123 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Code Publishing
Utility for publishing code articles in a manner similar to [CodeProject](https://www.CodeProject.com)
[CodeProject](https://www.CodeProject.com) is presently out of business and the articles are only accessible on a read-only basis.
This facility is being developed to compensate for the lack of this valuable resource.One of the goals of this development is to provide smooth operation with [Extensible Markdown](https://marketplace.visualstudio.com/items?itemName=sakryukov.extensible-markdown).
Extensible Markdown offers a way to create publications using Markdown and export them in HTML, using advanced Markdown extensions. The most important predefined extension automatically creates and references TOC with optional flexible and configurable auto-numbering.The code highlighter is based on the study of Craig Campbell's [Rainbow](https://github.com/ccampbell/rainbow) and borrowing some essential parts of its code. Most of the code is radically rewritten and greatly simplified. Node support was found defunct and is removed. Separate pieces of code
have been rewritten using more modern JavaScript, and multiple problems have been solved.### Live Play
[Syntax highlighting utility](https://sakryukov.github.io/code-publishing/highlight-utility/index.html)
[Color Names](https://sakryukov.github.io/color-names-js-wpf/code/js) (from the repository [SAKryukov/color-names-js-wpf](https://github.com/SAKryukov/color-names-js-wpf), useful for styling)
[Artilce demo](https://sakryukov.github.io/code-publishing/demo/index.html)
### Credits:
Original [Rainbow](https://github.com/ccampbell/rainbow) contributors:
Craig Campbell, Daniel Holden, Dan Stewart, Matthew Brennan Jones, Javier Aguirre, Bruno Dias, Leo Accend, Nijiko Yonskai, Simon Potter, Matthew King, Alex Queiroz, Frank Shearar, and Jan Navratil.Their names and contributions can be found in [highlighter/language](https://github.com/SAKryukov/code-publishing/tree/main/highlighter/language).