Skip to content

Instantly share code, notes, and snippets.

Mark Huot markhuot

Block or report user

Report or block markhuot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:fc255080645eb9eae9f3
<?php
/**
* @file
* Drupal site-specific configuration file.
*
* IMPORTANT NOTE:
* This file may have been set to read-only by the Drupal installation program.
* If you make changes to this file, be sure to protect it again after making
* your modifications. Failure to remove write permissions to this file is a
@markhuot
markhuot / gist:9398909
Last active Aug 29, 2015
Enhanced Markdown
View gist:9398909

The following is an idea for an enhancement to Markdown that allows for "YAML frontmatter" intersperced throughout the document. This will allow you to write standard markdown while also supporting more complex data types where necessary.

The idea incldues the ability to "class" your YAML to a specific object type. For example, what follows is an image object that would be rendered according to the specs of the rendering engine.

----image
src: /path/to/image.png
caption: some markdown [caption](#)
credit: a person's name
----
You can’t perform that action at this time.