Skip to content

Commit

Permalink
FLUID-6224: Tidied up "emphasis as header" pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
the-t-in-rtf committed Nov 24, 2017
1 parent ba549a1 commit 7fd8941
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 112 deletions.
1 change: 0 additions & 1 deletion Gruntfile.js
Expand Up @@ -37,7 +37,6 @@ module.exports = function (grunt) {
options: {
config: {
// See https://github.com/DavidAnson/markdownlint#rules--aliases for rule names and meanings.
"no-emphasis-as-header": false, // We use this far too often in fairly legitimate contexts i.e. for a line of actual emphasis that we should discuss
"no-duplicate-header": false, // We use duplicate nested headers, as in section 1 and 2 both have the same sub-section name.
"no-trailing-punctuation": false, // This catches headings that are questions, which seems wrong.
"first-header-h1": false, // Docpad takes care of this for us.
Expand Down
2 changes: 1 addition & 1 deletion src/documents/ConditionalSubpanels.md
Expand Up @@ -17,7 +17,7 @@ The relationship between the controlling boolean preference and its dependent su
}
```

**Notes:**
## Notes:

* A conditional subpanel must contain **ONLY ONE** adjuster.
* A controlling preference **MUST** be a boolean.
Expand Down
5 changes: 3 additions & 2 deletions src/documents/DOMBinderAPI.md
Expand Up @@ -10,8 +10,9 @@ See the [DOM Binder documentation](DOMBinder.md) for more information about how

<div class="infusion-docs-note">

<strong>Note:</strong> A DOM Binder is automatically created by the Framework for any [view component](tutorial-gettingStartedWithInfusion/ViewComponents.md).
**_Component developers are not expected to ever create a DOM Binder themselves._**
<strong>Note:</strong> A DOM Binder is automatically created by the Framework for any
[view component](tutorial-gettingStartedWithInfusion/ViewComponents.md). **_Component developers are not expected to
ever create a DOM Binder themselves._**
</div>

## Creation
Expand Down
4 changes: 2 additions & 2 deletions src/documents/Enactors.md
Expand Up @@ -109,7 +109,7 @@ Enactors are Infusion [model components](tutorial-gettingStartedWithInfusion/Mod

## Examples

**Example: Enactor that calls a setter function when the model changes**
### Example: Enactor that calls a setter function when the model changes

```javascript
fluid.defaults("gpii.enactor.fontSize", {
Expand Down Expand Up @@ -141,7 +141,7 @@ gpii.enactor.fontSize.set = function (times, cursorDiv) {
};
```

**Example: Enactor that uses a speak enactor to self-voice a page**
### Example: Enactor that uses a speak enactor to self-voice a page

```javascript
fluid.defaults("fluid.prefs.enactor.selfVoicing", {
Expand Down

0 comments on commit 7fd8941

Please sign in to comment.