Stream: IG creation
Topic: Create a Table in a Structure definition <comment> tag
Brian Reinhold (Sep 13 2018 at 12:18):
I have a <comment> tag that is appears as follows in a 'dict' rendering :
Comments The currently defined version codes used in this element are as follows: FIELD CODE reference identifier Hardware revision 531974 MDC_ID_PROD_SPEC_HW Software revision 531975 MDC_ID_PROD_SPEC_SW Firmware revision 531976 MDC_ID_PROD_SPEC_FW Protocol 531977 MDC_ID_PROD_SPEC_PROTOCOL Continua version 532352 MDC_REG_CERT_DATA_CONTINUA_VERSION The above comes from the Continua Reg-Cert-Data-List attribute More than one of these versions may be reported by a PHD. Each version reported by the PHG shall be encoded.
I would like to make this a readable table.
Grahame Grieve (Sep 13 2018 at 13:48):
use GFM table syntax
Brian Reinhold (Sep 13 2018 at 16:15):
use GFM table syntax
I tried
shall be encoded.

 |Description|CODE|Reference Identifier|
 |-|-|-|
 |Hardware revision|531974|MDC_ID_PROD_SPEC_HW|
 |Software revision|531975|MDC_ID_PROD_SPEC_SW|
 |Firmware revision|531976|MDC_ID_PROD_SPEC_FW|
 |Protocol|531977|MDC_ID_PROD_SPEC_PROTOCOL|
 |Continua version|532352|MDC_REG_CERT_DATA_CONTINUA_VERSION|
 The Continua version comes from the Continua Reg-Cert-Data-List attribute
"
but it did not work. I am assuming that GFM means standard markdown. I was able to get something like a table using brute force (at least the text is aligned correctly) but there are no borders.
Eric Haas (Sep 13 2018 at 18:51):
add { :.grid} on the line right after it or used html and add grid as a class. Thats a little kramdown to trigger the css style for table class grid
Last updated: Apr 12 2022 at 19:14 UTC