# Info strings elsewhere

**URL:** <https://talk.commonmark.org/t/info-strings-elsewhere/2610>\
**Category:** Spec\
**Created:** [October 4, 2017, 8:00am UTC](https://talk.commonmark.org/t/info-strings-elsewhere/2610 "2017-10-04T08:00:59Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![aoudad](https://cdn.commonmark.org/letter_avatar_proxy/v2/letter/a/b782af/32.png) [@aoudad](https://talk.commonmark.org/u/aoudad)\
**Post date:** [February 18, 2019, 1:59am UTC](https://talk.commonmark.org/t/info-strings-elsewhere/2610/7 "2019-02-18T01:59:37Z")

</div>

How about…

```java
{.class #id key="value" info="Arbitrary info string"}

```

This provides maximum flexibility for future extensions, since any info string could be applied in any location where [attribute blocks](https://talk.commonmark.org/t/consistent-attribute-syntax/272) (or [attribute references](https://talk.commonmark.org/t/attribute-references/3076)) can be applied.

It’s additional markup, but it keeps things future-compatible – consistent attribute syntax will almost inevitably be added to CommonMark core or a standard extension.

---

_[View the full topic](https://talk.commonmark.org/t/info-strings-elsewhere/2610)._
