From b103d447912fff33286c664920e2e8b789034c2f Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 13 Apr 2019 23:26:53 +0200 Subject: [PATCH] docs: formatting --- resources/docs/docs/custom-module.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/custom-module.md b/resources/docs/docs/custom-module.md index e1e4c378..d20aa7fc 100644 --- a/resources/docs/docs/custom-module.md +++ b/resources/docs/docs/custom-module.md @@ -97,13 +97,13 @@ Custom modules don't let you use node's `require` function at runtime, but you c The common pattern for this is using the [browserify](http://browserify.org/) library: -1. define some variable in `number.js` +**1**. define some variable in `number.js` ```javascript module.exports = 42 ``` -2. retreive it in your main module file (`main.js`): +**2**. retreive it in your main module file (`main.js`): ```javascript var num = require('./number.js') @@ -119,6 +119,6 @@ module.exports = { ``` -3. bundle your sources into `custom-module.js`: +**3**. bundle your sources into `custom-module.js`: `browserify main.js -o custom-module.js --standalone module.exports`