Page MenuHomePhabricator

Method to block quote text in remarkup
Closed, InvalidPublic

Description

I may be a bit daft, but I can't seem to find a way to block quote a large body of text. Motivating scenario: I'm writing a bit of developer documentation, and I'd like to be able to paste in shell output to demonstrate what normal compilation processes look like. This output may be dozens of lines, and may contain stuff that I don't want remark up to process. I'd also like the output to be in a block quote,

like this

The %%% syntax appears to behave very weirdly if it is not the first thing on a line of text, and doesn't really address my need.

Event Timeline

wotte raised the priority of this task from to Needs Triage.
wotte updated the task description. (Show Details)
wotte added a project: Remarkup.
wotte added a subscriber: wotte.

Can you just use the code block style? Indent the block with two spaces, or surround the block with triple-backticks (```):

That is, this:

```
>>> orbital ~/devtools/phabricator $ git branch
bitbucket
ducks
hbody3
heraldvfield
hrulebreak
idrevision
later.drop-maniphest-xactions
* master
projedit
servicelog
twitter
wordlist
```

...produces this:

>>> orbital ~/devtools/phabricator $ git branch
  bitbucket
  ducks
  hbody3
  heraldvfield
  hrulebreak
  idrevision
  later.drop-maniphest-xactions
* master
  projedit
  servicelog
  twitter
  wordlist

It seems like that satisfies all your requirements? Am I misreading?

wotte claimed this task.

Aha. Missed that one; I figured I was being dense.

Thanks!

Ah, cool. You can use lines=X and lang=Y to adjust the styling too, there are some examples in the docs I think.