All Projects → glutanimate → Syntax Highlighting

glutanimate / Syntax Highlighting

Licence: agpl-3.0
A fork of Tiago Barroso's Syntax Highlighting add-on with support for Anki 2.1

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Syntax Highlighting

Catage
Node package and CLI tool to convert code into an image with syntax highlighting
Stars: ✭ 44 (-41.33%)
Mutual labels:  syntax-highlighting
Vim Systemd Syntax
Syntax highlighting for systemd service files in Vim.
Stars: ✭ 57 (-24%)
Mutual labels:  syntax-highlighting
Jupyter Themes
Custom Jupyter Notebook Themes
Stars: ✭ 8,879 (+11738.67%)
Mutual labels:  syntax-highlighting
Vim Html Template Literals
Syntax highlighting for html template literals in javascript (as in lit-html and polymer 3)
Stars: ✭ 48 (-36%)
Mutual labels:  syntax-highlighting
Vue Theme Vscode
+200.000 installs ⬇️ Theme for Visual Studio Code inspired by Vue.js, with support for more popular languages, trying to maintain a perfect harmony of colors.
Stars: ✭ 54 (-28%)
Mutual labels:  syntax-highlighting
Syntax Highlighter Bot
Syntax highlighter bot for telegram.
Stars: ✭ 60 (-20%)
Mutual labels:  syntax-highlighting
Vue Prism
Simple Vue.js Syntax highlighting with Prism.js
Stars: ✭ 43 (-42.67%)
Mutual labels:  syntax-highlighting
Linguist
Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
Stars: ✭ 9,370 (+12393.33%)
Mutual labels:  syntax-highlighting
Brew.vim
🍺 Vim Syntax for Homebrew formulae
Stars: ✭ 55 (-26.67%)
Mutual labels:  syntax-highlighting
Smart Area
📝 Textareas on Steroids - AngularJS directive
Stars: ✭ 65 (-13.33%)
Mutual labels:  syntax-highlighting
Dhall Vim
Syntax highlighting for Dhall
Stars: ✭ 51 (-32%)
Mutual labels:  syntax-highlighting
O
🌀 Text editor suitable for writing git commit messages and editing Markdown files. Can build executables and jump to errors at the press of `ctrl-space`, for several programming languages. Can format code with `ctrl-w`. Provides general syntax highlighting, rainbow parenthesis and cut/paste portals. o is intentionally limited to VT100.
Stars: ✭ 54 (-28%)
Mutual labels:  syntax-highlighting
Highlightr
iOS & OSX Syntax Highlighter.
Stars: ✭ 1,116 (+1388%)
Mutual labels:  syntax-highlighting
Anki.vector.sdk
Anki Vector .NET SDK
Stars: ✭ 47 (-37.33%)
Mutual labels:  anki
Wirb
Ruby Object Inspection for IRB
Stars: ✭ 69 (-8%)
Mutual labels:  syntax-highlighting
Base2tone
2 base hues - 32 variations > 1 theme
Stars: ✭ 43 (-42.67%)
Mutual labels:  syntax-highlighting
Http Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
Stars: ✭ 8,329 (+11005.33%)
Mutual labels:  syntax-highlighting
Vcli
Vertica CLI with auto-completion and syntax highlighting
Stars: ✭ 75 (+0%)
Mutual labels:  syntax-highlighting
Subethaedit
General purpose plain text editor for macOS. Widely known for its live collaboration feature.
Stars: ✭ 1,183 (+1477.33%)
Mutual labels:  syntax-highlighting
Chessli
A free and open source chess improvement app that combines the power of Lichess and Anki.
Stars: ✭ 64 (-14.67%)
Mutual labels:  anki

Syntax Highlighting for Anki


Allows you to insert syntax-highlighted code snippets into the spaced-repetition flashcard app Anki.

Table of Contents

Installation

AnkiWeb

The easiest way to install Syntax Highlighting is through AnkiWeb.

Manual installation

Please click on the entry corresponding to your Anki version:

Anki 2.1
  1. Make sure you have the latest version of Anki 2.1 installed. Earlier releases (e.g. found in various Linux distros) do not support .ankiaddon packages.
  2. Download the latest .ankiaddon package from the releases tab (you might need to click on Assets below the description to reveal the download links)
  3. From Anki's main window, head to ToolsAdd-ons
  4. Drag-and-drop the .ankiaddon package onto the add-ons list
  5. Restart Anki
Anki 2.0
  1. Go to ToolsAdd-onsOpen add-ons folder
  2. Find and delete the Syntax Highlighting.py file if it already exists.
  3. See if you can find a syntax_highlighting folder. If so:
    1. If the folder contains a meta.json file, copy the file to a safe location. This will allow you to preserve your current settings.
    2. Proceed to delete the syntax_highlighting folder
  4. Download and extract the latest Anki 2.0 add-on release from the releases tab (you might need to click on Assets below the description to reveal the download links)
  5. Move the extracted Syntax Highlighting.py and syntax_highlighting into the add-ons folder
  6. Optional: Place the meta.json file back into the directory if you created a copy beforehand.
  7. Restart Anki

Documentation

For further information on the use of this add-on please check out the description text for AnkiWeb.

Building

With Anki add-on builder installed:

git clone https://github.com/glutanimate/syntax-highlighting.git
cd syntax-highlighting
aab build

For more information on the build process please refer to aab's documentation.

Contributing

Contributions are welcome! Please review the contribution guidelines on how to:

  • Report issues
  • File pull requests
  • Support the project as a non-developer

License and Credits

Syntax Highlighting is

Copyright © 2012-2015 Tiago Barroso

Copyright © 2015 Tim Rae

Copyright © 2018-2019 Aristotelis P. (Glutanimate)

Syntax Highlighting is based on Syntax Highlighting for Code by Tiago Barroso. All credit for the original add-on goes to him. A major thanks is also due for Tim Rae, who extended the original add-on with CSS support.

The present fork and update to Anki 2.1 was made possible through the generous support of a fellow Anki user who would like to remain anonymous.

Syntax Highlighting ships with the following third-party open-source software:

  • Pygments v2.2.0. Copyright (c) 2006-2017 by the Pygments Team. Licensed under the BSD license.

Syntax Highlighting is free and open-source software. The add-on code that runs within Anki is released under the GNU AGPLv3 license, extended by a number of additional terms. For more information please see the LICENSE file that accompanied this program.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.


The continued development of this add-on is made possible
thanks to my Patreon and Ko-Fi supporters.
You guys rock ❤️ !
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].