Skip to content

Commit c676272

Browse files
committed
Hide some sections of README
1 parent 313bc25 commit c676272

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ More details about how to set up the debugger can be found in Microsoft's websit
159159
- C/C++ extension debugger information: <https://code.visualstudio.com/docs/cpp/cpp-debug>
160160
- Build tasks for easy compiling: <https://code.visualstudio.com/docs/editor/tasks>
161161

162+
<details>
163+
<summary><b>Example: Launch.json</b></summary>
164+
162165
```jsonc
163166
{
164167
// Use IntelliSense to learn about possible attributes.
@@ -189,16 +192,23 @@ More details about how to set up the debugger can be found in Microsoft's websit
189192
}
190193
```
191194

195+
</details>
196+
192197
## Formatting
193198

194199
Two formatters are supported [`findent`](https://github.com/gnikit/findent-pypi)
195200
and [`fprettify`](https://github.com/pseewald/fprettify). Both of them can be
196201
installed with `pip` automatically through the extension.
197202

203+
<details>
204+
<summary><b>Demo: formatters in action</b></summary>
205+
198206
| findent | fprettify |
199207
| :-------------------------------: | :---------------------------------: |
200208
| ![alt](./assets/findent-demo.gif) | ![alt](./assets/fprettify-demo.gif) |
201209

210+
</details>
211+
202212
The formatter is controlled by the user option
203213

204214
```jsonc
@@ -237,13 +247,13 @@ by following these VS Code [instructions](https://code.visualstudio.com/docs/edi
237247
If you think a snippet should be shipped by with the extension feel free to
238248
submit a [feature request](https://github.com/fortran-lang/vscode-fortran-support/issues/new?assignees=&labels=feature-request&template=feature_request.md&title=)
239249

240-
### Program skeleton
241-
242-
![program snippet](https://media.giphy.com/media/OYdq9BKYMOOdy/giphy.gif)
243-
244-
#### Module skeleton
245-
246-
![module snippet](https://media.giphy.com/media/3ohzdUNRuio5FfyF1u/giphy.gif)
250+
<details>
251+
<summary><b>Demo: snippets in action</b></summary>
252+
<p float="left">
253+
<img alt="program snippet" src="https://media.giphy.com/media/OYdq9BKYMOOdy/giphy.gif" width=400/>
254+
<img alt="module snippet" src="https://media.giphy.com/media/3ohzdUNRuio5FfyF1u/giphy.gif" width=320/>
255+
</p>
256+
</details>
247257

248258
## Advanced options
249259

0 commit comments

Comments
 (0)