Converting a Snip

We need to do the following things.

  1. Headings
  2. Links
  3. Bolds
  4. Italics
  5. Quotes
  6. Lists
  7. Images
  8. HTML Objects
  9. Line Throws

Headings

Headings, lines start with “1 ” or “1.1”, the ones need to be H3, or the title, and the onedotone need to be H3 or H4, depending on how the one is treated and if there is one.

Links

These take the following format

{link:flickr pictures|http://www.flickr.com/photos/davelevy/sets/72157623287187871/}

The anchor text is between the colon and the pipe, the URL is between the pipe and the last ‘}’. I need to extract the anchor and the URL and generate an anchor tag.

‘< a =HREF=”‘ + $hyperlink + ‘”>’ + $anchortext + ‘</a>’

Don’t forget about the img decorations for the hyperlink.

Don’t forget about the name only anchors!

Related Posts

  • Snipsnap and the ‘html’ macro One of the add on features contributed  by the community to the snipsnap project was an […]
  • Snipsnap Themes Snipsnap offered multiple look and feels and for the advanced CSS coder, offered many […]
  • zbench, footer.php When written the zbench theme's footer text was Copyright © 2013 wiki.davelevy.info | […]
  • Disqus This is page contains complex html i.e. javascript, the page must only be edited as […]
  • RCS Revision Control System, one of the grand daddies of them all. I still use it because […]

One thought on “Converting a Snip

Leave a Reply

Your email address will not be published. Required fields are marked *