Skip to content

Izz0ware/easy-code-snippet-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Easy Code Snippets Library

Developed and maintained by Izaac Johansson

Easy Code Snippets Library (here on called ECSL) is developed to create a gist-like library on a WordPress site. It contains a custom post type and it's own archive and single templates. It do also include two distinct shortcodes, explained below.

Shortcodes

Show a single snippet anywhere on the site, with prettify highlightning:
[ecsl-snippet id={id}]
Parameter(s):

int id : The specific ID of the code snippet to show.

bool only_code : Default: true. If set to true it will only show highlighted code, no extras like title, date, tags, language.

Show a list of snippets anywhere on the site, with prettify highlightning:
[ecsl-snippets]
Parameter(s):

null none : No parameters at this time

About

A WordPress plugin for a code snippets library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published