Skip to content

Commit

Permalink
Added missing "Code is Poetry" block in some packages (#13101)
Browse files Browse the repository at this point in the history
* docs: added correct name for font site 50

* Remove old changes

* Added missing "Code is Poetry" block in some packages documents

* Revert "Remove old changes"

This reverts commit c7622d9.

* Revert "docs: added correct name for font site 50"

This reverts commit b30c96a.

* Fix display issue in wordcount package

* Fix end tag for js block
  • Loading branch information
mukeshpanchal27 authored and aduth committed Jan 7, 2019
1 parent 68f135b commit 4fe36cc
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/annotations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ npm install @wordpress/annotations --save
_This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using [core-js](https://github.com/zloirock/core-js) or [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill) will add support for these methods. Learn more about it in [Babel docs](https://babeljs.io/docs/en/next/caveats)._

## Usage

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
2 changes: 2 additions & 0 deletions packages/babel-plugin-makepot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ Install the module:
```bash
npm install @wordpress/babel-plugin-makepot --save-dev
```

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
2 changes: 2 additions & 0 deletions packages/data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,3 +416,5 @@ Specific implementation differences from Redux and React Redux:
- In `@wordpress/data`, a `withSelect` mapping function can return `undefined` if it has no props to inject.
- In React Redux, the `mapDispatchToProps` argument can be defined as an object or a function.
- In `@wordpress/data`, the `withDispatch` higher-order component creator must be passed a function.

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
2 changes: 2 additions & 0 deletions packages/editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,5 @@ Example:
window.wp.element
);
```

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
2 changes: 2 additions & 0 deletions packages/nux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@ console.log( 'Tips in this guide:', guide.tipIds );
console.log( 'Currently showing:', guide.currentTipId );
console.log( 'Next to show:', guide.nextTipId );
```

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
2 changes: 2 additions & 0 deletions packages/plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,5 @@ const Layout = () => (
);
```
{% end %}

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
2 changes: 2 additions & 0 deletions packages/viewport/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ function MyComponent( { isMobile } ) {
MyComponent = withViewportMatch( { isMobile: '< small' } )( MyComponent );
```
<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
3 changes: 3 additions & 0 deletions packages/wordcount/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ count accepts three parameters:
```JS
import { count } from '@wordpress/wordcount';
const numberOfWords = count( 'Words to count', 'words', {} )
```

<br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>

0 comments on commit 4fe36cc

Please sign in to comment.