Skip to content

Commit 8583cd1

Browse files
committed
Less bold, smaller subheaders
1 parent cea8af2 commit 8583cd1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Companies that use [Elm](http://elm-lang.org/) in production usually start with
66

77
Read more about how to use Elm at work [here](http://elm-lang.org/blog/how-to-use-elm-at-work).
88

9-
# Example
9+
## Example
1010

11-
- Emoji Chat Room — [**Demo**](http://evancz.github.io/react-elm) / [**Code**](example)
11+
- Emoji Chat Room — [Demo](http://evancz.github.io/react-elm) / [Code](example)
1212

1313

1414

15-
# Usage
15+
## Usage
1616

1717
After you have compiled an Elm program to JavaScript, you can embed it in React like this:
1818

@@ -70,7 +70,7 @@ function setupPorts(ports) {
7070
In the `setupPorts` function, we first subscribe to the `numActiveTodos` port. Whenever the number of active todos changes, we will run that function and log the number on the console. After that, we send two values through the `todos` port. This will add both of these into the model *and* trigger the `numActiveTodos` callback twice.
7171

7272

73-
# Angular, Ember, etc.
73+
## Angular, Ember, etc.
7474

7575
If you want to embed Elm in Angular or Ember or whatever else, you are in luck!
7676

@@ -85,7 +85,7 @@ setupPorts(app.ports)
8585
So if you are interested in embedding Elm in something else, do the same trick! You can get more complete docs on embedding Elm in HTML [here](http://guide.elm-lang.org/interop/html.html) and JavaScript interop [here](http://guide.elm-lang.org/interop/javascript.html). Let the community know if you make something!
8686

8787

88-
# Advanced Usage
88+
## Advanced Usage
8989

9090
Once the Elm component is initialized, changing the `flags` and `ports` properties will do nothing. So here are some tricks that may help you out:
9191

0 commit comments

Comments
 (0)