Syntax highlight C code in README
Summary: Closes https://github.com/facebook/css-layout/pull/221 Reviewed By: vjeux Differential Revision: D3914024 Pulled By: emilsjolander fbshipit-source-id: 4cb0741e526dfefbbb41e8afed1c2f52823df08a
This commit is contained in:
committed by
Facebook Github Bot 8
parent
ff8f17ac99
commit
dba5faabb2
@@ -47,7 +47,7 @@ We think supporting RTL locales is very important. Therefor CSSLayout supports n
|
|||||||
### C
|
### C
|
||||||
The full API can be found in `CSSLayout/CSSLayout.h`.
|
The full API can be found in `CSSLayout/CSSLayout.h`.
|
||||||
|
|
||||||
```html
|
```c
|
||||||
CSSNodeRef root = CSSNodeNew();
|
CSSNodeRef root = CSSNodeNew();
|
||||||
CSSNodeStyleSetWidth(root, 100);
|
CSSNodeStyleSetWidth(root, 100);
|
||||||
CSSNodeStyleSetHeight(root, 100);
|
CSSNodeStyleSetHeight(root, 100);
|
||||||
|
Reference in New Issue
Block a user