Converting a Snip

We need to do the following things.

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


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.


These take the following format

{link:flickr pictures|}

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 […]
  • Disqus This is page contains complex html i.e. javascript, the page must only be edited as […]
  • zbench, footer.php When written the zbench theme's footer text was Copyright © 2013 | […]
  • ERP Obviously ERP has been around a while, in my researches, I came across these two open […]

One thought on “Converting a Snip

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.