graphy.js icon indicating copy to clipboard operation
graphy.js copied to clipboard

Customise formatting of concise hashes

Open tpluscode opened this issue 4 years ago • 2 comments

Is it possible to tweak what the output of writing C3/C4 hashes looks like?

Specifically, I would like to add line breaks to object lists to prevent very long lines

tpluscode avatar Jun 07 '21 10:06 tpluscode

Would adding a style option for setting preferred column width when writing objects lists in Turtle/TRiG do the trick? For example, something similar to https://graphy.link/content.textual#config-commentconfig

blake-regalia avatar Jun 08 '21 00:06 blake-regalia

That would work I guess. It's up to you if you would be content with mixed output like of object lists such as

<> ex:prop "foo" , "bar" ,
           "baz"

rather than having each object preceded by a new line...

tpluscode avatar Jun 08 '21 05:06 tpluscode