FHIR Chat · code block width not limited to 80 char · IG creation

Stream: IG creation

Topic: code block width not limited to 80 char


view this post on Zulip Eric Haas (Dec 08 2021 at 18:59):

The code block width not limited to 80 char. For example when have base64 data. Is there class I need to label it with or can we consider making that a part of the standard css?

view this post on Zulip Grahame Grieve (Dec 08 2021 at 19:20):

we can consider that though I think of it as a feature for base64 data

view this post on Zulip Vassil Peytchev (Dec 08 2021 at 19:27):

is the base64 data already split by newlines? i.e. does <pre> work?

According to the Bootstrap 3 documentation <code> is for inline code, while <pre> is for code blocks.

view this post on Zulip Eric Haas (Dec 08 2021 at 22:01):

Vassil Peytchev said:

is the base64 data already split by newlines? i.e. does <pre> work?

According to the Bootstrap 3 documentation <code> is for inline code, while <pre> is for code blocks.

sometimes it is and sometimes is not based on how is generated. Do we stipulate anywhere that it should be formatted some way?

view this post on Zulip Grahame Grieve (Dec 08 2021 at 22:02):

MnM just approved that we'll clarify in R5 that whitespace is not allowed in base64Binary. This is not a new rule, and it's not our rule either - it comes from the RFC, though it's often not followed in other specifications

view this post on Zulip Eric Haas (Dec 08 2021 at 22:03):

yes for markdown ~~~...~~ is rendered as <pre> tags. That is what I meant.

view this post on Zulip Eric Haas (Dec 08 2021 at 22:05):

make a git issue?

view this post on Zulip Eric Haas (Dec 09 2021 at 04:33):

i am thinking something like

pre.base64 {
    white-space: pre-wrap;
    word-wrap: break-word;
}

view this post on Zulip Grahame Grieve (Dec 09 2021 at 07:09):

the question for me is why people want to see the base64. it's not like the characters matter to anyone.

view this post on Zulip Eric Haas (Dec 09 2021 at 08:11):

I construct inline transactions to illustrate from actual valid examples using {% include_relative %}. My expectation is that the transaction will work as if created in Postman.


Last updated: Apr 12 2022 at 19:14 UTC