Skip to content

Commit 0410e91

Browse files
committed
format readme <h(n)>'s
https://www.npmjs.com/package/amdclean doesn't <h(n)> ify w/o nbsp
1 parent 0e6504b commit 0410e91

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fit for JavaScript library/web app authors who want a tiny download in one file
5252
It is best used for libraries or apps that use AMD or CommonJS (using the [cjsTranslate](https://github.com/jrburke/r.js/blob/master/build/example.build.js#L574) Require.js optimizer option) and optimize all modules into one file or multiple bundles. If you do not include Require.js or a similar loader, you cannot dynamically load code.
5353

5454

55-
##What is Supported
55+
## What is Supported
5656

5757
* Can be used for both full-fledged web apps and/or individual JavaScript libraries.
5858

@@ -94,7 +94,7 @@ There are a few different ways that AMDclean can be used including:
9494
**Note:** AMDclean does not have any module ordering logic, so if you do not use the RequireJS optimizer then you need to find another solution for resolving module dependencies before your files can be "cleaned".
9595

9696

97-
###AMDclean with the RequireJS Optimizer
97+
### AMDclean with the RequireJS Optimizer
9898

9999
* [Download the RequireJS optimizer](http://requirejs.org/docs/download.html#rjs).
100100

@@ -176,7 +176,7 @@ gulp.task('build', function() {
176176
});
177177
```
178178

179-
###AMDclean as a Node Module
179+
### AMDclean as a Node Module
180180

181181
* `npm install amdclean --save-dev`
182182

@@ -194,7 +194,7 @@ var cleanedCode = amdclean.clean(code);
194194
```
195195

196196

197-
###AMDclean as a Client-side Library
197+
### AMDclean as a Client-side Library
198198

199199
* Include all dependencies
200200

@@ -236,7 +236,7 @@ AMDclean uses Esprima to generate an AST (Abstract Syntax Tree) from the provide
236236
Here are a few different techniques that AMDclean uses to convert AMD to standard JavaScript code:
237237

238238

239-
###Define Calls
239+
### Define Calls
240240

241241
_AMD_
242242

@@ -372,7 +372,7 @@ third = {
372372

373373
---
374374

375-
###Require Calls
375+
### Require Calls
376376

377377
**Note:** `require(['someModule'])` calls, with no callback function, are removed from the built source code
378378

@@ -411,7 +411,7 @@ _Standard_
411411
```
412412

413413

414-
##Optimization Algorithms
414+
## Optimization Algorithms
415415

416416
AMDclean uses a few different strategies to decrease file size:
417417

@@ -488,7 +488,7 @@ anotherExample = function() {
488488
```
489489

490490

491-
##Options
491+
## Options
492492

493493
The amdclean `clean()` method accepts a string or an object. Below is an example object with all of the available configuration options:
494494

0 commit comments

Comments
 (0)