An arctic, north-bluish clean and elegant highlight.js theme.
Designed for a fluent and clear workflow based on the Nord color palette.
Getting started
Visit the official websitenord-home to learn all about the featuresnord-home#intro, how to install and usenord-docs-home-install the theme and more from the official documentationsnord-docs-home.Quick Start
Since Nord highlight.js is used in web technology based projects, it's main installation method are therefore npmnpm or yarnyarn, the Node.js package managers.Install and add it as production dependency from the command line:
# When using npm...
npm install --save nord-highlightjs
# ...or yarn as package manager.
yarn add nord-highlightjs
To use Nord highlight.js in projects without Node.js, the CSS file can be used through CDN services like UNPKG:
<!-- Replace the version with any available release. -->
<link href="https://unpkg.com/nord-highlightjs@0.2.0/dist/nord.css" rel="stylesheet" type="text/css" />
Usage
To use Nord highlight.js include the CSS file as stylesheet depending on the installation method:<!-- When installed via npm/yarn for Node.js based projects -->
<link href="node_modules/nord-highlightjs/dist/nord.css" rel="stylesheet" type="text/css" />
<!-- When using CDN service like UNPKG -->
<link href="https://unpkg.com/nord-highlightjs@0.2.0/dist/nord.css" rel="stylesheet" type="text/css" />
Features
Beautiful code to keep focused.
Support for a wide range of language types.
JavaScript with a React Hook for React Spring animations.
React component with forwarded ref
.
Contributing
Nord is an open source project and we love to receive contributions from the communitynord-comm!There are many ways to contribute, from writing- and improving documentation and tutorialsnord-contrib-guide-docs, reporting bugsnord-contrib-guide-bugs, submitting enhancement suggestionsnord-contrib-guide-enhance that can be added to Nord by submitting pull requestsnord-contrib-guide-pr.
Please take a moment to read Nord's full contributing guidenord-contrib-guide to learn about the development process, the project's used styleguidesnord-contrib-guide-styles, branch organizationnord-contrib-guide-branching and versioningnord-contrib-guide-versioning model.
The guide also includes information about minimal, complete, and verifiable examplesnord-contrib-guide-mcve and other ways to contribute to the project like improving existing issuesnord-contrib-guide-impr-issues and giving feedback on issues and pull requestsnord-contrib-guide-feedback.
Copyright © 2017-present Arctic Ice Studio and Sven Greb