Skip to content

J-Glover/Code-snippet-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Code Snippet WordPress

A WordPress plugin for managing and displaying code snippets on your website.

๐Ÿ“‹ Description

This plugin allows you to easily manage, organize, and display code snippets on your WordPress website. Perfect for developers, technical bloggers, and educators who want to share code examples with syntax highlighting.

Code Snippet Example

โœจ Features

  • Syntax highlighting support
  • Copy-to-clipboard functionality
  • Multiple programming language support
  • Responsive design
  • Customizable styling options

๐Ÿš€ Installation

  1. Download the plugin zip file
  2. Go to WordPress Admin > Plugins > Add New
  3. Click "Upload Plugin" and select the downloaded zip file
  4. Click "Install Now" and then "Activate"

๐Ÿ”ง Usage

Adding a New Snippet

  • Use the code below for a example:

[code-snippet language="bash" title="bash"] cd /var/www/html sudo curl -O https://wordpress.org/latest.tar.gz sudo tar -xvzf latest.tar.gz [/code-snippet]

โš™๏ธ Configuration

Navigate to Code Snippets > Settings to:

  • Change font

๐Ÿ”ฎ Future Changes

  • Adding more fonts
  • Customizable styling options

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘ฅ Authors

  • James Glover

๐Ÿ™ Acknowledgments

  • CursorAI used to generate the code for this plugin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published