Dealing with underscores
tags: body
Description/Summary
Cases where the underscores should be escaped # _something foo bar _something foo bar something_ foo bar something_ foo bar Cases when the underscores should not be escaped # By itself _ In a verbatim block _ In an emoji 🙌, ✅ In a citation @abc_def
Content
Cases where the underscores should be escaped #
_something
foo bar _something foo bar
something_
foo bar something_ foo bar
Cases when the underscores should not be escaped #
- By itself
- _
- In a verbatim block
_- In an emoji
- 🙌, ✅
- In a citation
- @abc_def
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | "Dealing with underscores" | |
| Title | "Dealing with underscores" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | false | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/dealing-with-underscores/" | |
| RelPermalink | "/posts/dealing-with-underscores/" | |
| Data |
| |
| NextPage | Single and Double quotes | |
| PrevPage | Footnotes 1 | |
| NextInSection | Single and Double quotes | |
| PrevInSection | Footnotes 1 |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| date | time.Time | 2017-07-21 00:00:00 +0000 UTC |
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-01-03 16:52:29 -0500 -0500 |
| publishdate | time.Time | 2017-07-21 00:00:00 +0000 UTC |
| tags | []string | "body" |
| title | string | "Dealing with underscores" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| UniqueID | "63cf05d3bdbbe5a9f251435ed0260eef" |
| BaseFileName | "dealing-with-underscores" |
| TranslationBaseName | "dealing-with-underscores" |
| Lang | "en" |
| Section | "posts" |
| LogicalName | "dealing-with-underscores.md" |
| Dir | "posts/" |
| Ext | "md" |
| Path | "posts/dealing-with-underscores.md" |