Skip to content

Commit 28e8642

Browse files
committed
Update README.md
1 parent 8872ea1 commit 28e8642

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@ public class CustomRenderOption: Options
5353
switch (metadata.StyleType)
5454
{
5555

56-
//if you have added embedded object using the “Block” option
57-
case StyleType.Block:
58-
string renderString = "";
59-
if (embeddedObject is IEmbeddedEntry)
60-
{
61-
renderString += $"<div> <b>{((IEmbeddedEntry)embeddedObject).Title}</b></div>";
62-
}
63-
else if (embeddedObject is IEmbeddedContentTypeUid)
64-
{
65-
renderString += $"<div> <b>{embeddedObject.Uid}</b></div>";
66-
}
67-
return renderString;
56+
//if you have added embedded object using the “Block” option
57+
case StyleType.Block:
58+
string renderString = "";
59+
if (embeddedObject is IEmbeddedEntry)
60+
{
61+
renderString += $"<div> <b>{((IEmbeddedEntry)embeddedObject).Title}</b></div>";
62+
}
63+
else if (embeddedObject is IEmbeddedContentTypeUid)
64+
{
65+
renderString += $"<div> <b>{embeddedObject.Uid}</b></div>";
66+
}
67+
return renderString;
6868

6969
//if you have added embedded object using the “Inline” option
7070
case StyleType.Inline:

0 commit comments

Comments
 (0)