Coder Social home page Coder Social logo

nathanchere / nccomau-code-syntax-block Goto Github PK

View Code? Open in Web Editor NEW

This project forked from westonruter/syntax-highlighting-code-block

1.0 1.0 0.0 598 KB

A WordPress plugin which extends Gutenberg adding *server-side* color syntax highlighting to the code block. Forked for specific needs of nathanchere.com.au

JavaScript 26.93% PHP 73.07%

nccomau-code-syntax-block's Introduction

Server-Side Code Syntax Highlighting Block for WordPress 5.x

A WordPress plugin which extends Gutenberg by adding server-side syntax highlighting to the WordPress core code block. Forked from westonruter's fork of code-syntax-block with changes to suit my own needs for my blog at nathanchere.com.au

Changes from upstream

Changelog

1.0.1

  • Adds syntax highlighting support for languages I care about (e.g. Elixir, C#) and drops support for those I don't
  • Remove plugin-level translation/internationalisation support

1.0.0

Roadmap

Realisticic

  • Code block caption
  • Configure supported languages through UI without editing plugin code
  • Add support for a default theme

Not likely to happen but nice to think about

  • Line numbers

License

Licensed under GPL 2.0 or later.

nccomau-code-syntax-block's People

Contributors

westonruter avatar mkaz avatar nathanchere avatar memuller avatar miina avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

nccomau-code-syntax-block's Issues

Make available languages configurable

Include highlighting definition for all languages and configure which ones are displayed in the block editor settings (e.g. I don't use Java, so I don't want it cluttering up the language dropdown)

Add a settings page

Should be accessible from standard Plugins page in Wordpress admin dashboard

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.