Skip to content

Commit

Permalink
converting to markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenke committed May 18, 2011
1 parent f618069 commit 15e68e5
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions cfml100mins.markdown
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ We might have a file named `myprogram.cfm` and `Sample.cfc` like this:
<tr> <tr>


<td> <td>
``` cfm ``` cfml
<cfscript> <cfscript>
s = New Sample (); s = New Sample ();
writeOutput (s.hello ()); writeOutput (s.hello ());
Expand All @@ -83,17 +83,13 @@ writeOutput (s.hello ());
</td> </td>


<td> <td>
<pre lang="cfm"> ``` cfml
<code>
component { component {
public string function hello (){ public string function hello (){
return( "Hello, World!" ); return( "Hello, World!" );
} }
} }
</code> ```

</pre>

</td> </td>


</tr> </tr>
Expand All @@ -111,20 +107,16 @@ For the script example, `myprogram.cfm` and `Sample.cfc` would have beginning/cl
</tr> </tr>
<tr> <tr>
<td> <td>
<pre lang="php"> ``` php
<code>
<?php <?php
require("Sample.php"); require("Sample.php");
$s = new Sample(); $s = new Sample();
echo s->hello (); echo s->hello ();
?> ?>
</code> ```

</pre>
</td> </td>
<td> <td>
<pre lang="php"> ``` php
<code>
<?php <?php
class Sample class Sample
{ {
Expand All @@ -133,9 +125,7 @@ class Sample
} }
} }
?> ?>
</code> ```

</pre>
</td> </td>


</tr> </tr>
Expand Down

0 comments on commit 15e68e5

Please sign in to comment.