Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community 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

60%
+1 −0
Q&A block-quotation narrative with dialogue

If I understand the question correctly; you want a visual way to include a part of the text that add more information, without blocking the main flow or being obtrusive. While it doesn't seem as w...

posted 3y ago by 4015.alt‭  ·  edited 3y ago by 4015.alt‭

Answer
#3: Post edited by user avatar 4015.alt‭ · 2021-12-14T21:53:50Z (almost 3 years ago)
styling
  • If I understand the question correctly; you want a visual way to include a part of the text that add more information, without blocking the main flow or being obtrusive.
  • While it doesn't seem as writing issue persee, an more like a styling one, it's an issue that I may have a solution for:
  • ## Solution
  • A possible solution is to use **collapsible sections**, as follow:
  • ---
  • Main text here ...
  • <details>
  • <summary> here is a collapsible section </summary>
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et ante risus. Nullam vulputate egestas ligula, a aliquet purus tempor in. Ut mattis magna eu felis sodales accumsan. Maecenas convallis, ligula sed interdum dapibus, ex mi imperdiet velit, fringilla mollis sem nulla quis urna. Vestibulum sit amet consectetur ex. Fusce in libero vulputate, lobortis nibh in, aliquet odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est orci, finibus id lectus vitae, laoreet lobortis quam.
  • </details>
  • ... continuation of your text
  • ---
  • ## Method
  • 1. surround the whole block that you want to hide with
  • `<details> ... </details> `
  • 2. put the visible label or title inside `<summary>` tag:
  • `<summary> recap of ... </summary>`
  • 3. add your text, using markdown style
  • 4. make sure you have an empty line after each closing tag: `</summary>` and `</details>`
  • ## Code
  • ```html
  • Main text here ...
  • <details>
  • <summary> here is a collapsible section </summary>
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit...
  • </details>
  • ... continuation of your text
  • ```
  • ---
  • https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab
  • If I understand the question correctly; you want a visual way to include a part of the text that add more information, without blocking the main flow or being obtrusive.
  • While it doesn't seem as writing issue persee, an more like a styling one, it's an issue that I may have a solution for:
  • ## Solution
  • A possible solution is to use **collapsible sections**, as follow:
  • ---
  • Main text here ...
  • <details>
  • <summary> here is a collapsible section </summary>
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et ante risus. Nullam vulputate egestas ligula, a aliquet purus tempor in. Ut mattis magna eu felis sodales accumsan. Maecenas convallis, ligula sed interdum dapibus, ex mi imperdiet velit, fringilla mollis sem nulla quis urna. Vestibulum sit amet consectetur ex. Fusce in libero vulputate, lobortis nibh in, aliquet odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est orci, finibus id lectus vitae, laoreet lobortis quam.
  • </details>
  • ... continuation of your text
  • ---
  • ## Method
  • 1. surround the whole block that you want to hide with
  • `<details> ... </details> `
  • 2. put the visible label or title inside `<summary>` tag:
  • `<summary> recap of ... </summary>`
  • 3. add your text, using markdown style
  • 4. make sure you have an empty line after each closing tag: `</summary>` and `</details>`
  • ## Code
  • ```html
  • Main text here ...
  • <details>
  • <summary> here is a collapsible section </summary>
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit...
  • </details>
  • ... continuation of your text
  • ```
  • ---
  • https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab
#2: Post edited by user avatar 4015.alt‭ · 2021-12-14T21:48:32Z (almost 3 years ago)
  • If I understand the question correctly; you want a visual way to include a part of the text that add more information, without blocking the main flow or being obtrusive.
  • A solution could be, to use collapsible blocks, as follow:
  • ---
  • Main text here ...
  • <details>
  • <summary> Lorem ipsum </summary>
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et ante risus. Nullam vulputate egestas ligula, a aliquet purus tempor in. Ut mattis magna eu felis sodales accumsan. Maecenas convallis, ligula sed interdum dapibus, ex mi imperdiet velit, fringilla mollis sem nulla quis urna. Vestibulum sit amet consectetur ex. Fusce in libero vulputate, lobortis nibh in, aliquet odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est orci, finibus id lectus vitae, laoreet lobortis quam.
  • </details>
  • continuation ...
  • ---
  • If I understand the question correctly; you want a visual way to include a part of the text that add more information, without blocking the main flow or being obtrusive.
  • While it doesn't seem as writing issue persee, an more like a styling one, it's an issue that I may have a solution for:
  • ## Solution
  • A possible solution is to use **collapsible sections**, as follow:
  • ---
  • Main text here ...
  • <details>
  • <summary> here is a collapsible section </summary>
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et ante risus. Nullam vulputate egestas ligula, a aliquet purus tempor in. Ut mattis magna eu felis sodales accumsan. Maecenas convallis, ligula sed interdum dapibus, ex mi imperdiet velit, fringilla mollis sem nulla quis urna. Vestibulum sit amet consectetur ex. Fusce in libero vulputate, lobortis nibh in, aliquet odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est orci, finibus id lectus vitae, laoreet lobortis quam.
  • </details>
  • ... continuation of your text
  • ---
  • ## Method
  • 1. surround the whole block that you want to hide with
  • `<details> ... </details> `
  • 2. put the visible label or title inside `<summary>` tag:
  • `<summary> recap of ... </summary>`
  • 3. add your text, using markdown style
  • 4. make sure you have an empty line after each closing tag: `</summary>` and `</details>`
  • ## Code
  • ```html
  • Main text here ...
  • <details>
  • <summary> here is a collapsible section </summary>
  • Lorem ipsum dolor sit amet, consectetur adipiscing elit...
  • </details>
  • ... continuation of your text
  • ```
  • ---
  • https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab
#1: Initial revision by user avatar 4015.alt‭ · 2021-12-14T21:24:10Z (almost 3 years ago)
If I understand the question correctly; you want a visual way to include a part of the text that add more information, without blocking the main flow or being obtrusive.

A solution could be, to use collapsible blocks, as follow:

---

Main text here ...

<details>

<summary> Lorem ipsum </summary>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus et ante risus. Nullam vulputate egestas ligula, a aliquet purus tempor in. Ut mattis magna eu felis sodales accumsan. Maecenas convallis, ligula sed interdum dapibus, ex mi imperdiet velit, fringilla mollis sem nulla quis urna. Vestibulum sit amet consectetur ex. Fusce in libero vulputate, lobortis nibh in, aliquet odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est orci, finibus id lectus vitae, laoreet lobortis quam.

</details> 

continuation ...

---