Skip to content

Instantly share code, notes, and snippets.

@gcr
Created May 9, 2009 23:56
Show Gist options
  • Select an option

  • Save gcr/109450 to your computer and use it in GitHub Desktop.

Select an option

Save gcr/109450 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<note version="0.3" xmlns:link="http://beatniksoftware.com/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size" xmlns="http://beatniksoftware.com/tomboy">
<title>Escape characters</title>
<text xml:space="preserve"><note-content version="0.1">Escape characters
They do <bold>one of two things:</bold>
<list><list-item dir="ltr">If the character has a special meaning, escaping that character <bold>turns it off</bold> and makes it a <bold>plain</bold> character again.
<list><list-item dir="ltr">Putting quotes inside of quotes for example: " \" "
</list-item></list></list-item><list-item dir="ltr">if the character is a <bold>plain</bold> character, it gives it <bold>super powers</bold>
<list><list-item dir="ltr">The n character is normal, but put a backslash in front of it like so: \n And presto! You have a line break!</list-item></list></list-item></list>
To escape a character, put a backslash \ just before it.</note-content></text>
<last-change-date>2009-01-26T09:54:30.6989970-07:00</last-change-date>
<last-metadata-change-date>2009-04-13T09:47:06.5290020-06:00</last-metadata-change-date>
<create-date>2009-01-26T09:48:54.6098620-07:00</create-date>
<cursor-position>218</cursor-position>
<width>450</width>
<height>360</height>
<x>0</x>
<y>0</y>
<tags>
<tag>system:notebook:C programming</tag>
</tags>
<open-on-startup>False</open-on-startup>
</note>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment