Skip to content

Commit

Permalink
feat: update gml dictionary blog
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Aug 26, 2024
1 parent b66fa62 commit 7cd88b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _posts/2024-08-21-command-gml-dictionary.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: "New command to render GML Dictionary objects"
title: "Rendering GML Dictionary objects"
date: 2024-08-21
categories: documentation

Expand Down Expand Up @@ -114,6 +114,7 @@ The command accepts the options listed below:
`{path-to-dictionary}`:: specifies the path of XML file of the
GML Dictionary.
+
.Rendering the GML Dictionary from `Building_class.xml`
[example]
====
[source,adoc]
Expand All @@ -124,6 +125,7 @@ lutaml_gml_dictionary::/path/to/Building_class.xml[...]

`{path-to-template}`:: specifies the liquid template.
+
.Rendering the GML Dictionary using an external Liquid template
[example]
====
[source,adoc]
Expand All @@ -135,6 +137,7 @@ lutaml_gml_dictionary::/path/to/Building_class.xml[template="/path/to/template.l
`context={dict}`:: define the context in the template. The context is used to access
the `Liquid::Drop` object inside Liquid template.
+
.Rendering the GML Dictionary with the context object set to `dict`
[example]
====
[source,adoc]
Expand Down Expand Up @@ -224,7 +227,7 @@ h| Code h| Description
|===
-----
Will render the GML Dictionary as such a table:
Renders the GML Dictionary into the following table:
[cols="3a,22a"]
|===
Expand Down

0 comments on commit 7cd88b8

Please sign in to comment.