Skip to content

Commit

Permalink
added missing Metainit description into the readme file..
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Dittrich committed Apr 16, 2013
1 parent d49a848 commit ecb6979
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ It's strongly recommended to use the Element style syntax or the EnlighterJS.Hel
grouping: false
});

Instead of initializing EnlighterJS manually, since version 1.1 it is possible to use a simple html-metatag (called *EnlighterJS Metainit*) to run Enlighter on your page (with basic config options). This will be usefull if you only need a basic setup. Take a look into the examples *Tests/Testcase.Metainit.html* to see how it is working!

#HTML
<!-- Initialize EnlighterJS -->
<meta name="EnlighterJS" content="Advanced javascript based syntax highlighting" data-language="standard" data-theme="standard" data-indent="5" data-compiler="List" data-altlines="none" data-selector="pre" />



Advanced usage
Expand Down

0 comments on commit ecb6979

Please sign in to comment.