Skip to content

[Repo for APIs of web-ui-fw] A collection of tasks for building the jQuery websites

License

Notifications You must be signed in to change notification settings

hyunsook/jqm-api-grunt-jquery-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[NOTICE] :

This repository was moved the authentic grunt-jquery-content repo to Grunt-0.4 in order to the jqm branch of web-ui-fw repo.

grunt-jquery-content

A collection of tasks for building the jQuery websites

build-pages

This multi-task takes a list of html or markdown files, copies them to [wordpress.dir]/posts/page, processes @partial entries and highlights the syntax in each.

@partial

Usage:

<pre><code data-linenum>@partial(resources/code-sample.html)</code></pre>

Where resources/code-sample.html is relative path in the current directory. That html file will be inserted, escaped and highlighted.

@placeholder

Inside markup included with @partial you can mark sections of code as @placeholder code, to be excluded from the inserted code, replaced with a html comment.

Usage:

regular markup will show up here
<!-- @placeholder-start(more markup) -->
this will be replaced
<!-- @placeholder-end -->
other content

That will result in:

regular markup will show up here
<!-- more markup -->
other content

License

Copyright (c) 2012 jQuery Foundation Licensed under the MIT license.

About

[Repo for APIs of web-ui-fw] A collection of tasks for building the jQuery websites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published