Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hard Wrap Single Newlines
Treat single newlines in paragraph-like content as line breaks. This is more intuitive for most users than the way in which Markdown normally handles single newlines.
Escape Underscores in Words
It is not reasonable to italicize just part of a word, therefore words containing multiple underscores have their inner underscores escaped. This foo_bar_baz does not turn into foobarbaz.
Fenced Code Blocks
Markdown supports delineating code blocks by beginning each line with four spaces or a tab character. This can be cumbersome when entering longer snippets, so GFM implements fenced code blocks -- text encapsulated by '```' (three backticks) are treated as if each line began with four spaces or a tab character.
Auto Linking of Raw URLs
Github Flavored Markdown attempts to find raw URLs within the text and format them as Markdown style links so they are later transformed into HTML anchor tags -- clickable links -- by the Markdown processor.
ctex is a template for making a configuration-based module which uses ctools to
handle import/export as well as the CRUD UI. It is designed to jump-start the
process of creating these types of modules.
You should not install ctex, but overwrite it to make your own module.
Note on the 7.x release
I have not properly tested the 7.x release, save common updates from 6.x Patches welcome.
INSTRUCTIONS:
Choose a unique name for your module.
For our example, we'll be working with presets for reporting settings, so the
module will be called "reports".
Using your favourite IDE or text editor, do a global replace on:
"ctex" => "reports"
"Ctex" => "Reports"
Rename the four files which contain ctex in the title.
ctex uses the default exportable name of "preset". If you would prefer
something else, globally replace "preset" with your desired exportable name.
In the .info file, review and change the Name and Description.
In the export_ui plugin, update the plugin settings to match desired menu and
singular/plural names.
In the .install file, update the schema to match your configuration. A couple
of fields have been added to get your started. Be aware that ctools will inject