Communities

Codidact
Codidact
Code Golf Dev
Code Golf Dev
Judaism Dev
Judaism Dev
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A Formatting sandbox

Multi-line code block: select * from users where deleted=true and community_id=1; Single-line code block: select * from users; Code block with all whitespace: <pre...

posted 16h ago by Monica‭  ·  edited 38m ago by trichoplax‭

Answer
#2: Post edited by user avatar trichoplax‭ · 2026-07-03T18:29:45Z (38 minutes ago)
Not an important edit, just testing suggested edits
  • Multi-line code block:
  • ```sql
  • select * from users
  • where deleted=true
  • and community_id=1;
  • ```
  • Single-line code block:
  • ```sql
  • select * from ussers;
  • ```
  • Code block with all whitespace:
  • ```
  • ```
  • `<pre>`, not markdown code block:
  • <pre>
  • blah blah blah
  • </pre>
  • Multi-line code block:
  • ```sql
  • select * from users
  • where deleted=true
  • and community_id=1;
  • ```
  • Single-line code block:
  • ```sql
  • select * from users;
  • ```
  • Code block with all whitespace:
  • ```
  • ```
  • `<pre>`, not markdown code block:
  • <pre>
  • blah blah blah
  • </pre>
#1: Initial revision by user avatar Monica‭ · 2026-07-03T02:39:43Z (about 16 hours ago)
Multi-line code block:

```sql
select * from users
where deleted=true
and community_id=1;
```

Single-line code block:

```sql
select * from ussers;
```

Code block with all whitespace:

```
    
    
    
```

`<pre>`, not markdown code block:

<pre>
blah blah blah
</pre>