highlight.js
Cpcdos is a co-kernel made primarilly for beginners in the OS development world without having to necessarily know low-level programming. By implementing a language called Cpcdos C+, developers can quickly write programs and tools and essentially make a full distribution out of it.
Resources about the operating system, tests, tutorials, etc. may be found here.
Cpcdos sits on top of a DPMI server for the moment, although progress on independent code has been made during the last couple of years. The DPMI server is used mainly for filesystem operations, networking & video display.
See /test/detect/default.txt for an example code snippet.
You can test the syntax highlighting by including both the highlight.js
library and this module in a page as follows:
<script type="text/javascript" src="https://github.com/SPinti-Software/highlightjs-cpcdos/raw/master/lib/highlight.min.js"></script>
<script type="text/javascript" src="https://github.com/SPinti-Software/highlightjs-cpcdos/raw/master/lib/cpc-highlight.min.js"></script>
<script type="text/javascript">
hljs.initHighlightingOnLoad();
// ...
</script>
Depending on the layout of your website or application, the specified paths in the above code block may be different.
Refer to the highlight.js
documentation for more details on how to use this library.
For more information, visit the website.
highlight.js
?highlight.js
is a syntax highlighter written in JavaScript. It works in a browser as well as on a server. It has automatic language detection and doesn’t depend on any framework.
The following developers have contributed to this project:
Developer Name | Description |
---|---|
0v3rl0w | Code and initial README.md |
alexbelm48 | README.md completion |