« August 26, 2004 | Main | August 31, 2004 »

August 27, 2004

Good marketing

Altera Corp. surely knows how to treat its customers. Today, along with the semestrial software update package, they sent a pad of Post-it’s. Not the black, high absorption at all wavelengths ones I need for the lab but still, nice.

Bö 1.0b3

Bö 1.0b3 is now available, with a proper Read Me and the ability to escape footnote calls so I could add examples to this entry.

Bö 1.0b3

Name

Description

Bö is a preprocessor for John Gruber’s Markdown, a text-to-HTML filter that translates an easy-to-read / easy-to-write structured text format into HTML.

Its primary (and currently only) purpose is to add smart footnote functionality to Markdown.

Requirements

Installation

  • Install Markdown.pl, SmartyPants.pl and Bo.pl in your Movable Type plugin directory (typically mt/plugins).

  • Bö installs two new text formatting options, “Bö with Markdown” and “Bö with Markdown and SmartyPants”, the latter only if SmartyPants was installed.

Usage

Write your entries using Markdown markup, as you would do with the standard Markdown.

Footnotes are called from the text like this:

#[label]

Where label may contain A-Z, a-z, _ and -.

The footnote bodies can be placed anywhere in the text. They will be automatically moved to the end and sorted in cite order.

[label]: text

    Second paragraph

To indicate that a footnote has several paragraphs, the text must be indented by one tab or four spaces. The footnote body will be processed by Markdown.

You can backslash escape the # to prevent Bö from processing the footnote call:

\#[label]

Bugs

We don’t do bugs. No way, nada, never.

In the very unlikely case of Bö doing something you don’t want it to, contact us and if we like your tone, we may consider changing Bö’s behaviour.

Kidding, don’t hesitate to report bugs or send feature requests using the comment form on Bö’s latest release page.

Version History

  • 1.0b3: Fri Aug 27, 2004

    Enabled very basic escaping of # to allow unprocessed #[label]. Improved Read Me.

  • 1.0b2: Thu Aug 26, 2004

    First public release.

Author

Olivier Scherler
https://ithink.ch/bo

Additional Credits

Copyright and License

Copyright © 2004 Olivier Scherler (https://ithink.ch/blog/)
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name “Bö” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Do not meddle in the affairs of Coding Ninjas, for they are subtle and quick to anger.