Skip to content

Commit f3abf3d

Browse files
committed
fixing image indents
1 parent 47fbe2e commit f3abf3d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/general-development/how-to-customize-a-field-type-using-client-side-rendering.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Figure 1 shows a view form with a custom-rendered field type.
8686

8787

8888

89-
![Custom client-side rendered field in a View form](../../images/CSRFieldType_result.png)
89+
![Custom client-side rendered field in a View form](../../images/CSRFieldType_result.png)
9090

9191

9292

@@ -227,8 +227,7 @@ namespace Microsoft.SDK.SharePoint.Samples.WebControls
227227

228228

229229

230-
XML
231-
230+
```XML
232231
<?xml version="1.0" encoding="utf-8" ?>
233232
<FieldTypes>
234233
<FieldType>
@@ -246,7 +245,7 @@ XML
246245
<Field Name="ShowOnColumnTemplateCreate">TRUE</Field>
247246
</FieldType>
248247
</FieldTypes>
249-
248+
```
250249

251250

252251
### To add a JavaScript file for the rendering logic of the custom field type
@@ -271,7 +270,7 @@ XML
271270

272271

273272

274-
273+
```
275274
(function () {
276275
var favoriteColorContext = {};
277276
@@ -296,7 +295,7 @@ function favoriteColorViewTemplate(ctx) {
296295
return "<span style='background-color : " + color +
297296
"' >&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</span>&amp;nbsp;" + color;
298297
}
299-
298+
```
300299

301300

302301
### To build and run the solution
@@ -318,7 +317,7 @@ function favoriteColorViewTemplate(ctx) {
318317

319318

320319

321-
![Creating a new custom field type column](../../images/CSRFieldType_addcolumn.png)
320+
![Creating a new custom field type column](../../images/CSRFieldType_addcolumn.png)
322321

323322

324323

0 commit comments

Comments
 (0)