Skip to content

Commit

Permalink
Updated some styling for easier reading in the 'For preprocessing HTM…
Browse files Browse the repository at this point in the history
…L like PHP' section of the ReadMe.
  • Loading branch information
bwhite000 committed Mar 6, 2016
1 parent 3156bda commit 20818cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Please check out the ["example/"](example/) folder in this package for full deta
Use Angular-like variables, which will be converted using a helper method from this package (see Dart
code below).

*=== index.html ===*
__web/index.html__
~~~html
<body>
<h1>Welcome, {{username}}!</h1>
Expand All @@ -77,7 +77,8 @@ code below).

Then, process variables like PHP on the Dart server side:

*=== main.dart ===*
__server.dart__

~~~dart
import "dart:io";
import "package:html/parser.dart" as domParser; // https://pub.dartlang.org/packages/html
Expand Down

0 comments on commit 20818cb

Please sign in to comment.