Communities

(DEV) Codidact Meta
(DEV) Codidact Meta
(DEV) Writing
(DEV) Writing
Proposals
Proposals
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

50%
+0 −0
Q&A Testing mixed tabs and spaces in code blocks

Some code blocks: spaces tab Try highlighting the text and the whitespace before it to see the difference. Although pressing tab while manually entering code will switch to another elem...

0 answers  ·  posted 3mo ago by trichoplax‭  ·  edited 3mo ago by trichoplax‭

#2: Post edited by user avatar trichoplax‭ · 2024-09-29T17:11:57Z (3 months ago)
Add note
  • Some code blocks:
  • ```text
  • spaces
  • ```
  • ```text
  • tab
  • ```
  • Some code blocks:
  • ```text
  • spaces
  • ```
  • ```text
  • tab
  • ```
  • Try highlighting the text and the whitespace before it to see the difference. Although pressing tab while manually entering code will switch to another element rather than inserting a tab character, code that is pasted in maintains its tabs.
#1: Initial revision by user avatar trichoplax‭ · 2024-09-29T17:10:12Z (3 months ago)
Testing mixed tabs and spaces in code blocks
Some code blocks:

```text
    spaces
```

```text
	tab
```