Skip to content

axelhahn/php-codemirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axels php class php-codemirror

This class is a helper class for syntax highlighting in a textarea using Codemirror.

Multiple instances with different langues and themes are allowed.

Links:

It is a work in progress. Only a basic subset of Codemirror features is supported. In the first step I needed viewer and editor with syntax highlighting.

👤 Author: Axel Hahn
📄 Source: https://github.com/axelhahn/php-codemirror
📜 License: GNU GPL 3.0
📗 Docs: see https://www.axel-hahn.de/docs/php-codemirror/

Screenshot

alt text

Try it

If you have git and php installed locally you can run the example.

git clone https://github.com/axelhahn/php-codemirror.git
cd php-codemirror/examples
# Run the server
php -S localhost:9000

In the browser, open the url http://localhost:9000/

About

Helper class to render a viewer/ editor with syntax highlighting in your website using codemirror

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors