Giter VIP home page Giter VIP logo

assemble-boilerplate-markdown's Introduction

assemble-examples-markdown NPM version

Use Assemble to generate HTML pages from markdown content. Useful for wikis, gh-pages, documentation and blogs or sites with markdown posts.

Thank you to Upstage for the theme used in the live demo (the same used on http://assemble.io)!

This is not intended to be "documentation" for Assemble, the content used in this project is for example purposes. So you will learn by browsing the source code, rendered code, and seeing how it renders in the browser.

Related information

What you'll see in the examples

  • How to use file globbing to include multiple markdown files based on specified patterns.

Rendering markdown to markdown

  • How to generate markdown files from markdown pages. See ../src/content/TOC.md
  • How to use markdown "includes" that either render to HTML or render as markdown
  • How to use markdown layouts for generating markdown files

Rendering markdown to HTML

  • How to write markdown "inline" with HTML and have it render to HTML
  • How to generate HTML files from markdown pages, layouts and content.

Getting started

If you have trouble getting started, please visit the documentation at http://assemble.io, or create an Issue at Assemble's GitHub repo, we're happy to help.

This plugin requires Grunt ~0.4.1. If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install assemble --save-dev

Once the plugin has been installed, it may be enabled inside your [Gruntfile][Getting Started] with this line of JavaScript:

grunt.loadNpmTasks('assemble');

The "assemble" task

In your project's Gruntfile, add a section named assemble to the data object passed into grunt.initConfig().

grunt.initConfig({
  assemble: {
    options: {
      // Task-specific options go here.
    },
    your_target: {
      // Target-specific file lists and/or options go here.
    }
  }
});
grunt.loadNpmTasks('assemble');

grunt.registerTask('default', [
  'jshint',
  'assemble'
]);

Task targets, files and options may be specified according to the grunt Configuring tasks guide.

You should now be able to run grunt assemble to build the project.

Visit Assemble's documentation for more information.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt][].

Release History

(Nothing yet)

assemble-boilerplate-markdown's People

Contributors

hariadi avatar jonschlinkert avatar makotot avatar ryanfitzer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

assemble-boilerplate-markdown's Issues

Include helper not working

I can't seem to compile using grunt assemble as I get the following error:

Assembling dest/markdown-block-2.html ERROR
Warning: Could not find property 'include' Use --force to continue

This is troubling, as I downloaded the boilerplate specifically to figure out how the handlebars-helper library worked with assemble.

Could you shed some light on this?

Is there a Gulp version of this repo

I've been looking for a markdown demo using Assembly for a while and I haven't been able to find any. All the examples I find are either assemble file... Can anyone help me translate the Gruntfile to Gulp or point me to a Gulp example out of the box?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.