Content


Create Markdown files in /content/ folder, one Markdown file = one HTML file. There is no support for sub-folders, categories or tags. Majibo is just for flat-structured projects.

Place images in /img/ folder.

Meta data

Majibo supports these Markdown meta data tags

  • Title - page title
  • Description - page description
  • Image - page image
  • Type - open graph page type (default is website)
  • Lang - page language
  • Template - template that is used for rendering
  • Author - page author
  • Date - page publication date
  • Meta - object containing all original meta data

Shortcodes

Majibo extends Markdown syntax with some powerful shortcodes. See example page for results.

Include

Include an markdown file from content/include folder.

Image

Shows image with modal viewer (lightbox). Works only with images in img folder. It is possible to add an caption (figure).

Shows image with modal viewer (lightbox). Works only with images in img folder.

YouTube

Shows YouTube video. You can use video or playlist ID as an argument.

Embed content

Shows external (embed) content, you can specify ratio (see Bootstrap documentation for other info).

Gists

Shows GitHub's gist.

Div

Add div <div> to your page.

Pagelist

Add a list of children pages given by site navigation and defined by the parent's ID.