FreewayTalk uses Michel Fortin’s excellent PHP Markdown Extra
formatter, a PHP port (with extras) of the Markdown language by John
Gruber. I have further extended this formatter to meet the needs of
more Freeway-centric stuff like pasting Action code into the mix, or
hiding e-mail addresses, or converting older PHPBB links to the new
format.
Code formatting works like this:
four tildes on one line
your code on as many lines following that as you need
four tildes on one line
here’s an example:
<script type="javascript">
for (foo in bar){
console.log(bar);
}
</script>
If you just want to slip one or two words of code into an otherwise
normal sentence, use back-ticks (the lower-case of the tilde on US
English keyboards, your mileage may vary in other parts of the world).
The back-ticks MUST touch the word or phrase on either side, you may
not have a space “insulating” the back-tick from the text it is
supposed to modify)
So that would look like this: here is an explanation of the baz()
operator you may have seen from time to time in code examples.
Walter
On Nov 20, 2009, at 10:27 AM, atelier wrote:
Hi Dan
Your’re welcome.
I noticed this because I saw a rapport from Google with warnings
that some pagetitles were too long.
Code is like that, correct. Presuming that segment 3 equals the
title of the entree. Depends on how the URL is build up, naturally.
These segments combined with conditionals are quite powerful.
BTW I use an equal amount of ~ in my posts in order to format my
code snippets nicely, but somehow the formatting fails here or do I
things wrong??
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options