wagtailcodeblock


Namewagtailcodeblock JSON
Version 1.29.0.2 PyPI version JSON
download
home_page
SummaryWagtail Code Block provides PrismJS syntax highlighting in Wagtail.
upload_time2024-02-14 13:41:26
maintainer
docs_urlNone
author
requires_python>=3.7
licenseBSD-3-Clause
keywords wagtail cms contact syntax code highlighting highlighter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Wagtail Code Block

Wagtail Code Block is a syntax highlighter block for source code for the Wagtail CMS. It features real-time highlighting in the Wagtail editor, the front end, line numbering, and support for PrismJS themes.

It uses the [PrismJS](http://prismjs.com/) library both in Wagtail Admin and the website.

## Example Usage

First, add `wagtailcodeblock` to your `INSTALLED_APPS` in Django's settings. Here's a bare bones example:

```python
from wagtail.blocks import TextBlock
from wagtail.fields import StreamField
from wagtail.models import Page
from wagtail.admin.panels import FieldPanel

from wagtailcodeblock.blocks import CodeBlock


class HomePage(Page):
    body = StreamField([
        ("heading", TextBlock()),
        ("code", CodeBlock(label='Code')),
    ])

    content_panels = Page.content_panels + [
        FieldPanel("body"),
    ]
```

You can also force it to use a single language or set a default language by providing a language code which must be included in your `WAGTAIL_CODE_BLOCK_LANGUAGES` setting:

```python
bash_code = CodeBlock(label='Bash Code', language='bash')
any_code = CodeBlock(label='Any code', default_language='python')
```

## Screenshot of the CMS Editor Interface

![Admin in Action](https://raw.githubusercontent.com/FlipperPA/wagtailcodeblock/main/docs/img/screenshot-editor.png)

## Installation & Setup

To install Wagtail Code Block run:

```bash
# Wagtail 4.0 and greater
pip install wagtailcodeblock

# Wagtail 3.x
pip install wagtailcodeblock==1.28.0.0

# Wagtail 2.x
pip install wagtailcodeblock==1.25.0.2
```

And add `wagtailcodeblock` to your `INSTALLED_APPS` setting:

```python
INSTALLED_APPS = [
    ...
    'wagtailcodeblock',
    ...
]
```

## Django Settings

### Line Numbers

Line numbers are enabled by default, but can be disabled in Django's settings:

```python
WAGTAIL_CODE_BLOCK_LINE_NUMBERS = False
```

### Copy to clipboard

Copy to clipboard is enabled by default, but can be disabled in Django's settings:

```python
WAGTAIL_CODE_BLOCK_COPY_TO_CLIPBOARD = False
```

### Themes

Wagtail Code Block defaults to the PrismJS "Coy" theme, which looks good with Wagtail's CMS editor design. You can choose a different theme by configuring `WAGTAIL_CODE_BLOCK_THEME` in your Django settings. PrismJS provides several themes:

* **None**: <a href="http://prismjs.com/index.html?theme=prism" target="_blank">Default</a>
* **'coy'**: <a href="http://prismjs.com/index.html?theme=prism-coy" target="_blank">Coy</a>
* **'dark'**: <a href="http://prismjs.com/index.html?theme=prism-dark" target="_blank">Dark</a>
* **'funky'**: <a href="http://prismjs.com/index.html?theme=prism-funky" target="_blank">Funky</a>
* **'okaidia'**: <a href="http://prismjs.com/index.html?theme=prism-okaidia" target="_blank">Okaidia</a>
* **'solarizedlight'**: <a href="http://prismjs.com/index.html?theme=prism-solarizedlight" target="_blank">Solarized Light</a>
* **'twilight'**: <a href="http://prismjs.com/index.html?theme=prism-twilight" target="_blank">Twilight</a>

For example, in you want to use the Solarized Light theme: `WAGTAIL_CODE_BLOCK_THEME = 'solarizedlight'`
If you want to use the Default theme: `WAGTAIL_CODE_BLOCK_THEME = None`

### Languages Available

You can customize the languages available by configuring `WAGTAIL_CODE_BLOCK_LANGUAGES` in your Django settings. By default, it will be set with these languages, since most users are in the Python web development community:

```python
WAGTAIL_CODE_BLOCK_LANGUAGES = (
    ('bash', 'Bash/Shell'),
    ('css', 'CSS'),
    ('diff', 'diff'),
    ('html', 'HTML'),
    ('javascript', 'Javascript'),
    ('json', 'JSON'),
    ('python', 'Python'),
    ('scss', 'SCSS'),
    ('yaml', 'YAML'),
)
```

Each language in this setting is a tuple of the PrismJS code and a descriptive label. If you want use all available languages, here is a list:

```python
WAGTAIL_CODE_BLOCK_LANGUAGES = (
    ('abap', 'ABAP'),
    ('abnf', 'Augmented Backus–Naur form'),
    ('actionscript', 'ActionScript'),
    ('ada', 'Ada'),
    ('antlr4', 'ANTLR4'),
    ('apacheconf', 'Apache Configuration'),
    ('apl', 'APL'),
    ('applescript', 'AppleScript'),
    ('aql', 'AQL'),
    ('arduino', 'Arduino'),
    ('arff', 'ARFF'),
    ('asciidoc', 'AsciiDoc'),
    ('asm6502', '6502 Assembly'),
    ('aspnet', 'ASP.NET (C#)'),
    ('autohotkey', 'AutoHotkey'),
    ('autoit', 'AutoIt'),
    ('bash', 'Bash + Shell'),
    ('basic', 'BASIC'),
    ('batch', 'Batch'),
    ('bison', 'Bison'),
    ('bnf', 'Backus–Naur form + Routing Backus–Naur form'),
    ('brainfuck', 'Brainfuck'),
    ('bro', 'Bro'),
    ('c', 'C'),
    ('clike', 'C-like'),
    ('cmake', 'CMake'),
    ('csharp', 'C#'),
    ('cpp', 'C++'),
    ('cil', 'CIL'),
    ('coffeescript', 'CoffeeScript'),
    ('clojure', 'Clojure'),
    ('crystal', 'Crystal'),
    ('csp', 'Content-Security-Policy'),
    ('css', 'CSS'),
    ('css-extras', 'CSS Extras'),
    ('d', 'D'),
    ('dart', 'Dart'),
    ('diff', 'Diff'),
    ('django', 'Django/Jinja2'),
    ('dns-zone-file', 'DNS Zone File'),
    ('docker', 'Docker'),
    ('ebnf', 'Extended Backus–Naur form'),
    ('eiffel', 'Eiffel'),
    ('ejs', 'EJS'),
    ('elixir', 'Elixir'),
    ('elm', 'Elm'),
    ('erb', 'ERB'),
    ('erlang', 'Erlang'),
    ('etlua', 'Embedded LUA Templating'),
    ('fsharp', 'F#'),
    ('flow', 'Flow'),
    ('fortran', 'Fortran'),
    ('ftl', 'Freemarker Template Language'),
    ('gcode', 'G-code'),
    ('gdscript', 'GDScript'),
    ('gedcom', 'GEDCOM'),
    ('gherkin', 'Gherkin'),
    ('git', 'Git'),
    ('glsl', 'GLSL'),
    ('gml', 'GameMaker Language'),
    ('go', 'Go'),
    ('graphql', 'GraphQL'),
    ('groovy', 'Groovy'),
    ('haml', 'Haml'),
    ('handlebars', 'Handlebars'),
    ('haskell', 'Haskell'),
    ('haxe', 'Haxe'),
    ('hcl', 'HCL'),
    ('http', 'HTTP'),
    ('hpkp', 'HTTP Public-Key-Pins'),
    ('hsts', 'HTTP Strict-Transport-Security'),
    ('ichigojam', 'IchigoJam'),
    ('icon', 'Icon'),
    ('inform7', 'Inform 7'),
    ('ini', 'Ini'),
    ('io', 'Io'),
    ('j', 'J'),
    ('java', 'Java'),
    ('javadoc', 'JavaDoc'),
    ('javadoclike', 'JavaDoc-like'),
    ('javascript', 'JavaScript'),
    ('javastacktrace', 'Java stack trace'),
    ('jolie', 'Jolie'),
    ('jq', 'JQ'),
    ('jsdoc', 'JSDoc'),
    ('js-extras', 'JS Extras'),
    ('js-templates', 'JS Templates'),
    ('json', 'JSON'),
    ('jsonp', 'JSONP'),
    ('json5', 'JSON5'),
    ('julia', 'Julia'),
    ('keyman', 'Keyman'),
    ('kotlin', 'Kotlin'),
    ('latex', 'LaTeX'),
    ('less', 'Less'),
    ('lilypond', 'Lilypond'),
    ('liquid', 'Liquid'),
    ('lisp', 'Lisp'),
    ('livescript', 'LiveScript'),
    ('lolcode', 'LOLCODE'),
    ('lua', 'Lua'),
    ('makefile', 'Makefile'),
    ('markdown', 'Markdown'),
    ('markup', 'Markup + HTML + XML + SVG + MathML'),
    ('markup-templating', 'Markup templating'),
    ('matlab', 'MATLAB'),
    ('mel', 'MEL'),
    ('mizar', 'Mizar'),
    ('monkey', 'Monkey'),
    ('n1ql', 'N1QL'),
    ('n4js', 'N4JS'),
    ('nand2tetris-hdl', 'Nand To Tetris HDL'),
    ('nasm', 'NASM'),
    ('nginx', 'nginx'),
    ('nim', 'Nim'),
    ('nix', 'Nix'),
    ('nsis', 'NSIS'),
    ('objectivec', 'Objective-C'),
    ('ocaml', 'OCaml'),
    ('opencl', 'OpenCL'),
    ('oz', 'Oz'),
    ('parigp', 'PARI/GP'),
    ('parser', 'Parser'),
    ('pascal', 'Pascal + Object Pascal'),
    ('pascaligo', 'Pascaligo'),
    ('pcaxis', 'PC Axis'),
    ('perl', 'Perl'),
    ('php', 'PHP'),
    ('phpdoc', 'PHPDoc'),
    ('php-extras', 'PHP Extras'),
    ('plsql', 'PL/SQL'),
    ('powershell', 'PowerShell'),
    ('processing', 'Processing'),
    ('prolog', 'Prolog'),
    ('properties', '.properties'),
    ('protobuf', 'Protocol Buffers'),
    ('pug', 'Pug'),
    ('puppet', 'Puppet'),
    ('pure', 'Pure'),
    ('python', 'Python'),
    ('q', 'Q (kdb+ database)'),
    ('qore', 'Qore'),
    ('r', 'R'),
    ('jsx', 'React JSX'),
    ('tsx', 'React TSX'),
    ('renpy', 'Ren\'py'),
    ('reason', 'Reason'),
    ('regex', 'Regex'),
    ('rest', 'reST (reStructuredText)'),
    ('rip', 'Rip'),
    ('roboconf', 'Roboconf'),
    ('robot-framework', 'Robot Framework'),
    ('ruby', 'Ruby'),
    ('rust', 'Rust'),
    ('sas', 'SAS'),
    ('sass', 'Sass (Sass)'),
    ('scss', 'Sass (Scss)'),
    ('scala', 'Scala'),
    ('scheme', 'Scheme'),
    ('shell-session', 'Shell Session'),
    ('smalltalk', 'Smalltalk'),
    ('smarty', 'Smarty'),
    ('solidity', 'Solidity (Ethereum)'),
    ('sparql', 'SPARQL'),
    ('splunk-spl', 'Splunk SPL'),
    ('sqf', 'SQF: Status Quo Function (Arma 3)'),
    ('sql', 'SQL'),
    ('soy', 'Soy (Closure Template)'),
    ('stylus', 'Stylus'),
    ('swift', 'Swift'),
    ('tap', 'TAP'),
    ('tcl', 'Tcl'),
    ('textile', 'Textile'),
    ('toml', 'TOML'),
    ('tt2', 'Template Toolkit 2'),
    ('twig', 'Twig'),
    ('typescript', 'TypeScript'),
    ('t4-cs', 'T4 Text Templates (C#)'),
    ('t4-vb', 'T4 Text Templates (VB)'),
    ('t4-templating', 'T4 templating'),
    ('vala', 'Vala'),
    ('vbnet', 'VB.Net'),
    ('velocity', 'Velocity'),
    ('verilog', 'Verilog'),
    ('vhdl', 'VHDL'),
    ('vim', 'vim'),
    ('visual-basic', 'Visual Basic'),
    ('wasm', 'WebAssembly'),
    ('wiki', 'Wiki markup'),
    ('xeora', 'Xeora + XeoraCube'),
    ('xojo', 'Xojo (REALbasic)'),
    ('xquery', 'XQuery'),
    ('yaml', 'YAML'),
    ('zig', 'Zig'),
)
```

# What's With the Versioning?

Our version numbers are based on the underlying version of PrismJS we use. For example, if we are using PrismJS `1.28.0`, our versions will be named `1.28.0.X`.

# Release Notes & Contributors

* Thank you to our [wonderful contributors](https://github.com/FlipperPA/wagtailcodeblock/graphs/contributors)!
* Release notes are [available on GitHub](https://github.com/FlipperPA/wagtailcodeblock/releases).

# Project Maintainers

* Timothy Allen (https://github.com/FlipperPA)
* Milton Lenis (https://github.com/MiltonLn)

This package was created by the staff of [Wharton Research Data Services](https://wrds.wharton.upenn.edu/). We are thrilled that [The Wharton School](https://www.wharton.upenn.edu/) allows us a certain amount of time to contribute to open-source projects. We add features as they are necessary for our projects, and try to keep up with Issues and Pull Requests as best we can. Due to constraints of time (our full time jobs!), Feature Requests without a Pull Request may not be implemented, but we are always open to new ideas and grateful for contributions and our users.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "wagtailcodeblock",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "wagtail,cms,contact,syntax,code,highlighting,highlighter",
    "author": "",
    "author_email": "Tim Allen <tallen@wharton.upenn.edu>",
    "download_url": "https://files.pythonhosted.org/packages/18/3d/8966a61fce51095dce11f46f80f8041a026e31f12dd550727ed38ec6be3f/wagtailcodeblock-1.29.0.2.tar.gz",
    "platform": null,
    "description": "# Wagtail Code Block\n\nWagtail Code Block is a syntax highlighter block for source code for the Wagtail CMS. It features real-time highlighting in the Wagtail editor, the front end, line numbering, and support for PrismJS themes.\n\nIt uses the [PrismJS](http://prismjs.com/) library both in Wagtail Admin and the website.\n\n## Example Usage\n\nFirst, add `wagtailcodeblock` to your `INSTALLED_APPS` in Django's settings. Here's a bare bones example:\n\n```python\nfrom wagtail.blocks import TextBlock\nfrom wagtail.fields import StreamField\nfrom wagtail.models import Page\nfrom wagtail.admin.panels import FieldPanel\n\nfrom wagtailcodeblock.blocks import CodeBlock\n\n\nclass HomePage(Page):\n    body = StreamField([\n        (\"heading\", TextBlock()),\n        (\"code\", CodeBlock(label='Code')),\n    ])\n\n    content_panels = Page.content_panels + [\n        FieldPanel(\"body\"),\n    ]\n```\n\nYou can also force it to use a single language or set a default language by providing a language code which must be included in your `WAGTAIL_CODE_BLOCK_LANGUAGES` setting:\n\n```python\nbash_code = CodeBlock(label='Bash Code', language='bash')\nany_code = CodeBlock(label='Any code', default_language='python')\n```\n\n## Screenshot of the CMS Editor Interface\n\n![Admin in Action](https://raw.githubusercontent.com/FlipperPA/wagtailcodeblock/main/docs/img/screenshot-editor.png)\n\n## Installation & Setup\n\nTo install Wagtail Code Block run:\n\n```bash\n# Wagtail 4.0 and greater\npip install wagtailcodeblock\n\n# Wagtail 3.x\npip install wagtailcodeblock==1.28.0.0\n\n# Wagtail 2.x\npip install wagtailcodeblock==1.25.0.2\n```\n\nAnd add `wagtailcodeblock` to your `INSTALLED_APPS` setting:\n\n```python\nINSTALLED_APPS = [\n    ...\n    'wagtailcodeblock',\n    ...\n]\n```\n\n## Django Settings\n\n### Line Numbers\n\nLine numbers are enabled by default, but can be disabled in Django's settings:\n\n```python\nWAGTAIL_CODE_BLOCK_LINE_NUMBERS = False\n```\n\n### Copy to clipboard\n\nCopy to clipboard is enabled by default, but can be disabled in Django's settings:\n\n```python\nWAGTAIL_CODE_BLOCK_COPY_TO_CLIPBOARD = False\n```\n\n### Themes\n\nWagtail Code Block defaults to the PrismJS \"Coy\" theme, which looks good with Wagtail's CMS editor design. You can choose a different theme by configuring `WAGTAIL_CODE_BLOCK_THEME` in your Django settings. PrismJS provides several themes:\n\n* **None**: <a href=\"http://prismjs.com/index.html?theme=prism\" target=\"_blank\">Default</a>\n* **'coy'**: <a href=\"http://prismjs.com/index.html?theme=prism-coy\" target=\"_blank\">Coy</a>\n* **'dark'**: <a href=\"http://prismjs.com/index.html?theme=prism-dark\" target=\"_blank\">Dark</a>\n* **'funky'**: <a href=\"http://prismjs.com/index.html?theme=prism-funky\" target=\"_blank\">Funky</a>\n* **'okaidia'**: <a href=\"http://prismjs.com/index.html?theme=prism-okaidia\" target=\"_blank\">Okaidia</a>\n* **'solarizedlight'**: <a href=\"http://prismjs.com/index.html?theme=prism-solarizedlight\" target=\"_blank\">Solarized Light</a>\n* **'twilight'**: <a href=\"http://prismjs.com/index.html?theme=prism-twilight\" target=\"_blank\">Twilight</a>\n\nFor example, in you want to use the Solarized Light theme: `WAGTAIL_CODE_BLOCK_THEME = 'solarizedlight'`\nIf you want to use the Default theme: `WAGTAIL_CODE_BLOCK_THEME = None`\n\n### Languages Available\n\nYou can customize the languages available by configuring `WAGTAIL_CODE_BLOCK_LANGUAGES` in your Django settings. By default, it will be set with these languages, since most users are in the Python web development community:\n\n```python\nWAGTAIL_CODE_BLOCK_LANGUAGES = (\n    ('bash', 'Bash/Shell'),\n    ('css', 'CSS'),\n    ('diff', 'diff'),\n    ('html', 'HTML'),\n    ('javascript', 'Javascript'),\n    ('json', 'JSON'),\n    ('python', 'Python'),\n    ('scss', 'SCSS'),\n    ('yaml', 'YAML'),\n)\n```\n\nEach language in this setting is a tuple of the PrismJS code and a descriptive label. If you want use all available languages, here is a list:\n\n```python\nWAGTAIL_CODE_BLOCK_LANGUAGES = (\n    ('abap', 'ABAP'),\n    ('abnf', 'Augmented Backus\u2013Naur form'),\n    ('actionscript', 'ActionScript'),\n    ('ada', 'Ada'),\n    ('antlr4', 'ANTLR4'),\n    ('apacheconf', 'Apache Configuration'),\n    ('apl', 'APL'),\n    ('applescript', 'AppleScript'),\n    ('aql', 'AQL'),\n    ('arduino', 'Arduino'),\n    ('arff', 'ARFF'),\n    ('asciidoc', 'AsciiDoc'),\n    ('asm6502', '6502 Assembly'),\n    ('aspnet', 'ASP.NET (C#)'),\n    ('autohotkey', 'AutoHotkey'),\n    ('autoit', 'AutoIt'),\n    ('bash', 'Bash + Shell'),\n    ('basic', 'BASIC'),\n    ('batch', 'Batch'),\n    ('bison', 'Bison'),\n    ('bnf', 'Backus\u2013Naur form + Routing Backus\u2013Naur form'),\n    ('brainfuck', 'Brainfuck'),\n    ('bro', 'Bro'),\n    ('c', 'C'),\n    ('clike', 'C-like'),\n    ('cmake', 'CMake'),\n    ('csharp', 'C#'),\n    ('cpp', 'C++'),\n    ('cil', 'CIL'),\n    ('coffeescript', 'CoffeeScript'),\n    ('clojure', 'Clojure'),\n    ('crystal', 'Crystal'),\n    ('csp', 'Content-Security-Policy'),\n    ('css', 'CSS'),\n    ('css-extras', 'CSS Extras'),\n    ('d', 'D'),\n    ('dart', 'Dart'),\n    ('diff', 'Diff'),\n    ('django', 'Django/Jinja2'),\n    ('dns-zone-file', 'DNS Zone File'),\n    ('docker', 'Docker'),\n    ('ebnf', 'Extended Backus\u2013Naur form'),\n    ('eiffel', 'Eiffel'),\n    ('ejs', 'EJS'),\n    ('elixir', 'Elixir'),\n    ('elm', 'Elm'),\n    ('erb', 'ERB'),\n    ('erlang', 'Erlang'),\n    ('etlua', 'Embedded LUA Templating'),\n    ('fsharp', 'F#'),\n    ('flow', 'Flow'),\n    ('fortran', 'Fortran'),\n    ('ftl', 'Freemarker Template Language'),\n    ('gcode', 'G-code'),\n    ('gdscript', 'GDScript'),\n    ('gedcom', 'GEDCOM'),\n    ('gherkin', 'Gherkin'),\n    ('git', 'Git'),\n    ('glsl', 'GLSL'),\n    ('gml', 'GameMaker Language'),\n    ('go', 'Go'),\n    ('graphql', 'GraphQL'),\n    ('groovy', 'Groovy'),\n    ('haml', 'Haml'),\n    ('handlebars', 'Handlebars'),\n    ('haskell', 'Haskell'),\n    ('haxe', 'Haxe'),\n    ('hcl', 'HCL'),\n    ('http', 'HTTP'),\n    ('hpkp', 'HTTP Public-Key-Pins'),\n    ('hsts', 'HTTP Strict-Transport-Security'),\n    ('ichigojam', 'IchigoJam'),\n    ('icon', 'Icon'),\n    ('inform7', 'Inform 7'),\n    ('ini', 'Ini'),\n    ('io', 'Io'),\n    ('j', 'J'),\n    ('java', 'Java'),\n    ('javadoc', 'JavaDoc'),\n    ('javadoclike', 'JavaDoc-like'),\n    ('javascript', 'JavaScript'),\n    ('javastacktrace', 'Java stack trace'),\n    ('jolie', 'Jolie'),\n    ('jq', 'JQ'),\n    ('jsdoc', 'JSDoc'),\n    ('js-extras', 'JS Extras'),\n    ('js-templates', 'JS Templates'),\n    ('json', 'JSON'),\n    ('jsonp', 'JSONP'),\n    ('json5', 'JSON5'),\n    ('julia', 'Julia'),\n    ('keyman', 'Keyman'),\n    ('kotlin', 'Kotlin'),\n    ('latex', 'LaTeX'),\n    ('less', 'Less'),\n    ('lilypond', 'Lilypond'),\n    ('liquid', 'Liquid'),\n    ('lisp', 'Lisp'),\n    ('livescript', 'LiveScript'),\n    ('lolcode', 'LOLCODE'),\n    ('lua', 'Lua'),\n    ('makefile', 'Makefile'),\n    ('markdown', 'Markdown'),\n    ('markup', 'Markup + HTML + XML + SVG + MathML'),\n    ('markup-templating', 'Markup templating'),\n    ('matlab', 'MATLAB'),\n    ('mel', 'MEL'),\n    ('mizar', 'Mizar'),\n    ('monkey', 'Monkey'),\n    ('n1ql', 'N1QL'),\n    ('n4js', 'N4JS'),\n    ('nand2tetris-hdl', 'Nand To Tetris HDL'),\n    ('nasm', 'NASM'),\n    ('nginx', 'nginx'),\n    ('nim', 'Nim'),\n    ('nix', 'Nix'),\n    ('nsis', 'NSIS'),\n    ('objectivec', 'Objective-C'),\n    ('ocaml', 'OCaml'),\n    ('opencl', 'OpenCL'),\n    ('oz', 'Oz'),\n    ('parigp', 'PARI/GP'),\n    ('parser', 'Parser'),\n    ('pascal', 'Pascal + Object Pascal'),\n    ('pascaligo', 'Pascaligo'),\n    ('pcaxis', 'PC Axis'),\n    ('perl', 'Perl'),\n    ('php', 'PHP'),\n    ('phpdoc', 'PHPDoc'),\n    ('php-extras', 'PHP Extras'),\n    ('plsql', 'PL/SQL'),\n    ('powershell', 'PowerShell'),\n    ('processing', 'Processing'),\n    ('prolog', 'Prolog'),\n    ('properties', '.properties'),\n    ('protobuf', 'Protocol Buffers'),\n    ('pug', 'Pug'),\n    ('puppet', 'Puppet'),\n    ('pure', 'Pure'),\n    ('python', 'Python'),\n    ('q', 'Q (kdb+ database)'),\n    ('qore', 'Qore'),\n    ('r', 'R'),\n    ('jsx', 'React JSX'),\n    ('tsx', 'React TSX'),\n    ('renpy', 'Ren\\'py'),\n    ('reason', 'Reason'),\n    ('regex', 'Regex'),\n    ('rest', 'reST (reStructuredText)'),\n    ('rip', 'Rip'),\n    ('roboconf', 'Roboconf'),\n    ('robot-framework', 'Robot Framework'),\n    ('ruby', 'Ruby'),\n    ('rust', 'Rust'),\n    ('sas', 'SAS'),\n    ('sass', 'Sass (Sass)'),\n    ('scss', 'Sass (Scss)'),\n    ('scala', 'Scala'),\n    ('scheme', 'Scheme'),\n    ('shell-session', 'Shell Session'),\n    ('smalltalk', 'Smalltalk'),\n    ('smarty', 'Smarty'),\n    ('solidity', 'Solidity (Ethereum)'),\n    ('sparql', 'SPARQL'),\n    ('splunk-spl', 'Splunk SPL'),\n    ('sqf', 'SQF: Status Quo Function (Arma 3)'),\n    ('sql', 'SQL'),\n    ('soy', 'Soy (Closure Template)'),\n    ('stylus', 'Stylus'),\n    ('swift', 'Swift'),\n    ('tap', 'TAP'),\n    ('tcl', 'Tcl'),\n    ('textile', 'Textile'),\n    ('toml', 'TOML'),\n    ('tt2', 'Template Toolkit 2'),\n    ('twig', 'Twig'),\n    ('typescript', 'TypeScript'),\n    ('t4-cs', 'T4 Text Templates (C#)'),\n    ('t4-vb', 'T4 Text Templates (VB)'),\n    ('t4-templating', 'T4 templating'),\n    ('vala', 'Vala'),\n    ('vbnet', 'VB.Net'),\n    ('velocity', 'Velocity'),\n    ('verilog', 'Verilog'),\n    ('vhdl', 'VHDL'),\n    ('vim', 'vim'),\n    ('visual-basic', 'Visual Basic'),\n    ('wasm', 'WebAssembly'),\n    ('wiki', 'Wiki markup'),\n    ('xeora', 'Xeora + XeoraCube'),\n    ('xojo', 'Xojo (REALbasic)'),\n    ('xquery', 'XQuery'),\n    ('yaml', 'YAML'),\n    ('zig', 'Zig'),\n)\n```\n\n# What's With the Versioning?\n\nOur version numbers are based on the underlying version of PrismJS we use. For example, if we are using PrismJS `1.28.0`, our versions will be named `1.28.0.X`.\n\n# Release Notes & Contributors\n\n* Thank you to our [wonderful contributors](https://github.com/FlipperPA/wagtailcodeblock/graphs/contributors)!\n* Release notes are [available on GitHub](https://github.com/FlipperPA/wagtailcodeblock/releases).\n\n# Project Maintainers\n\n* Timothy Allen (https://github.com/FlipperPA)\n* Milton Lenis (https://github.com/MiltonLn)\n\nThis package was created by the staff of [Wharton Research Data Services](https://wrds.wharton.upenn.edu/). We are thrilled that [The Wharton School](https://www.wharton.upenn.edu/) allows us a certain amount of time to contribute to open-source projects. We add features as they are necessary for our projects, and try to keep up with Issues and Pull Requests as best we can. Due to constraints of time (our full time jobs!), Feature Requests without a Pull Request may not be implemented, but we are always open to new ideas and grateful for contributions and our users.\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Wagtail Code Block provides PrismJS syntax highlighting in Wagtail.",
    "version": "1.29.0.2",
    "project_urls": {
        "Documentation": "https://github.com/FlipperPA/wagtailcodeblock",
        "Homepage": "https://github.com/FlipperPA/wagtailcodeblock",
        "Repository": "https://github.com/FlipperPA/wagtailcodeblock"
    },
    "split_keywords": [
        "wagtail",
        "cms",
        "contact",
        "syntax",
        "code",
        "highlighting",
        "highlighter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "87492a8451de415ce1ae356f42cbf0f295abc5f851ed3cef8578b7c9422e49e5",
                "md5": "90ad5b10e98c10d603b17f59e3d860fe",
                "sha256": "c6bfe8be08f5e5968d7f25747f0a90f6e717159c62936a6732307382e8b2a8f5"
            },
            "downloads": -1,
            "filename": "wagtailcodeblock-1.29.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "90ad5b10e98c10d603b17f59e3d860fe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14127,
            "upload_time": "2024-02-14T13:41:24",
            "upload_time_iso_8601": "2024-02-14T13:41:24.910223Z",
            "url": "https://files.pythonhosted.org/packages/87/49/2a8451de415ce1ae356f42cbf0f295abc5f851ed3cef8578b7c9422e49e5/wagtailcodeblock-1.29.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "183d8966a61fce51095dce11f46f80f8041a026e31f12dd550727ed38ec6be3f",
                "md5": "82b3b9f23df4fe273758f6cd69c648a0",
                "sha256": "4e20a30ff007f1558259b1e16a757aa8a89f72fbbae5dc62f264bc84af467954"
            },
            "downloads": -1,
            "filename": "wagtailcodeblock-1.29.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "82b3b9f23df4fe273758f6cd69c648a0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 99293,
            "upload_time": "2024-02-14T13:41:26",
            "upload_time_iso_8601": "2024-02-14T13:41:26.696707Z",
            "url": "https://files.pythonhosted.org/packages/18/3d/8966a61fce51095dce11f46f80f8041a026e31f12dd550727ed38ec6be3f/wagtailcodeblock-1.29.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-14 13:41:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "FlipperPA",
    "github_project": "wagtailcodeblock",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": false,
    "tox": true,
    "lcname": "wagtailcodeblock"
}
        
Elapsed time: 0.19470s