How to Quote Text and Script Code Blocks

Quoting myself:

This is wrong. Just seen it now, I’m sorry. Indentation produces a code block. (Like the fenced code blocks with ```). Use > for block quotes.

Quotation (> or <blockquote>):

My quoted text.

Code block (``` or indentation or <pre><code>):

My code.

Both are “gray boxes”, with the difference that the block quote has the vertical bar at the left, which marks it as quotation. The code block doesn’t have that bar, it formats the text in a pre-defined monospaced font and it does not interpret meta characters (like < or \ etc.).


BTW (I just found out), you can also combine the two, apparently without any glitches:

> My quoted normal text here.
> A second line of normal text
> ```html
> My <it>quoted</it> code here.
> ```
> _And_ __another__ *line* **of** <i>normal</i> <b>text</b>.
> Another piece of code on the next line:
> ```applescript
> tell application "Finder" to …
> ```

Result:

My quoted normal text here.
A second line of normal text

My <i>quoted</i> code here.

And another line of normal text.
Another piece of code on the next line:

tell application "Finder" to …

Note that the language tags (“html”, “applescript”) of the code blocks most of the time are not needed, since the script seems to be pretty smart now in detecting the language by itself. At least with the more common languages. (A correctly indicated/auto-detected language is needed for the appropriate syntax highlighting.)

I’ve seen you used “—” apparently as section separator in your post above.

You can build a visually more appealing separator with…

---

…or…

***

…or as HTML

<hr>

Result:


Doesn't work for me. Don't know if this is bad info or something glitching on my setup.

Thank you for clearing up code block vs quotations.

Thanks for the better looking separators :smiley:!

My tummy is full, need to digest for a bit.

Thanks again!

Happy digesting! (I think the chances to produce an obstipation are negligible :grinning:)

For formatting (in an editor window) you can use – besides the toolbar buttons – the usual Mac shortcuts like ⌘B for bold, ⌘I for italics. (At least in Safari.)

Doesn't work for me. Don't know if this is bad info or something glitching on my setup.

You are on the forum with Safari, right? Here – on my Mac[1] –, it definitly works with Safari (⌘I, ⌘B). I use it all the times. I don’t know how other browsers behave.


1: Safari 12.1, OS 10.14.4

Yes Safari, same versions.

OK.

So, just to get things right, you are saying that while in an post editor window of the KM forum page you are unable to format a selected text as bold by pressing ⌘B?

“bold” means that after pressing ⌘B the selected text is surrounded by two asterisks. (The Markdown syntax for bold.)

Exactly.

I do not have any clue :wink:

Just testing it again in this very post: ⌘B produces bold text.

You are on Mojave, too, right? (10.14.4)

Maybe just do a reboot of your machine (if it doesn’t significantly hurt your work). (A reboot usually is the first and also the most effective service measure.)

Though I doubt that it will help in this case. But who knows.

Right 10.14.4.

Maybe a safari extension or safari preference setting. I’ll check tonight and report back if it changes.

Maybe the Fates telling me to calm down and not carry on :sob::partying_face::rofl::wink:

1 Like

Leave the “Fates” doing whatever they prefer to do, but do not connect it to tightly to your fate. Don’t get me wrong, the Fates are important, also to me, but the crucial thing is the balance betwen the fates and what needs to be done. Hard to explain. :slight_smile:

I already checked my Safari for Extensions, and I don’t think an extension is allowed to hinder those shortcuts. But, which extensions do you have loaded?

Maybe a “Trust in God and row away from the rocks" like thought. Easier sharing agency then standing all alone.

I’ll check extensions tonight...

1 Like

I’m more up to a “do what your guts tell you” but do not do it if it might kill you, or if you have a really significantly better solution at hand.

:slight_smile:

I already wanted to post some paragraphs in order to illustrate how to quote, but finally I didn’t do it. The content was just a bit too personal, and most likely most folks here wouldn’t know what to do with it.

Anyways now, I’ll post it here (it connects to your mention of Fates, which inspired me to this):

I really believe in things like Fate, Ghosts or similar, you got the idea. Well, not literally, in the popular sense, but I know that there is stuff out there (and “inside” of us) we don’t “know”.

We do not know it due to the simple fact that we do not have ways to access it. Our day’s “Natural Sciences” are way too naive and limited to only their own scope (which is pre-defined by themselves, logically, redundantly).

I’m aware that you are calling me crazy from this point on. That is, because most of ye’ folks probably have studied maths or physics or chemistry :slight_smile:

I’m a linguist. The main difference between a physician and a linguist is that the linguist has learned to work with humans (the language, e.g.). This tiny difference might seem irrelevant to some.
But, in fact, it is where the above mentioned things come into play. It allows us to grab any thing. And we have the freedom to see it as it is (if we are able to), a luxury the physician does not have.

A little essay.
Just to show you how to quote properly :wink: (But the text is by me in this case.)

Outstanding! To pursue here is definitely off topic by the degree you fall on the ontology/materialist scale and ones willingness/courage to acknowledge experience beyond the mundane.

As someone said:

half assed doesn’t work no matter which cheek you have left.

Of what value is the perfect forum if spirit isn’t attending?

Thanks for a courageous share! :clap:t2:

1 Like

:smile::face_vomiting:

Thanks for the

:slight_smile:

I appreciate it.

Hey Tom, This extension is the culprit. When disabled the keyboard shortcuts work. I'll delete it. Thanks!

Here's what Cummings said about "mostpeople" since feeling is first - The poems to come are for you and for me and are...

Thanks for that info. Just a couple of days ago I stumbled upon this extension in the Store. I postponed the purchase, because the description smelled a bit of a rather intrusive extension…; so, very good to know that it definitely is. Thanks.