Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

converting to markdown

  • Loading branch information...
commit 15e68e5db483bccc93255cdeea2546ca1805f7d6 1 parent f618069
Mike Henke authored
Showing with 7 additions and 17 deletions.
  1. +7 −17 cfml100mins.markdown
24 cfml100mins.markdown
View
@@ -74,7 +74,7 @@ We might have a file named `myprogram.cfm` and `Sample.cfc` like this:
<tr>
<td>
-``` cfm
+``` cfml
<cfscript>
s = New Sample ();
writeOutput (s.hello ());
@@ -83,17 +83,13 @@ writeOutput (s.hello ());
</td>
<td>
-<pre lang="cfm">
-<code>
+``` cfml
component {
public string function hello (){
return( "Hello, World!" );
}
}
-</code>
-
-</pre>
-
+```
</td>
</tr>
@@ -111,20 +107,16 @@ For the script example, `myprogram.cfm` and `Sample.cfc` would have beginning/cl
</tr>
<tr>
<td>
-<pre lang="php">
-<code>
+``` php
<?php
require("Sample.php");
$s = new Sample();
echo s->hello ();
?>
-</code>
-
-</pre>
+```
</td>
<td>
-<pre lang="php">
-<code>
+``` php
<?php
class Sample
{
@@ -133,9 +125,7 @@ class Sample
}
}
?>
-</code>
-
-</pre>
+```
</td>
</tr>
Please sign in to comment.
Something went wrong with that request. Please try again.