Closed sahilbakoru closed 5 months ago
The table of contents is helpful to see all the questions at the same time. If we close it by default, reader may not get idea to expand them.
In Markdown, you can create collapsible sections like the one you've shown
using HTML elements, just as you've demonstrated in
your example. Here's how to do it:
1.
Use : These HTML elements are used to define the
collapsible section. The
element is the clickable header that
users will click on to expand or collapse the content.
2.
Place your content inside the
Keep the
Use indentation: While it's not required, indenting the content within
the
Use backticks for code blocks: If you want to include code blocks, as you did in your example, use triple backticks (```) to define the code block and specify the language (e.g., js for JavaScript).
Remember that the support for HTML in Markdown may vary depending on the platform or renderer you're using. Most Markdown renderers should support
chat GPT is that you ?
Ok i will send you tomorrow
On Tue, 3 Oct, 2023, 10:43 pm Sahil bakoru , @.***> wrote:
Reopened #273 https://github.com/sudheerj/reactjs-interview-questions/issues/273.
— Reply to this email directly, view it on GitHub https://github.com/sudheerj/reactjs-interview-questions/issues/273#event-10541213730, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7GHGHXBP5UPOC4X27VT6S3X5RBU7AVCNFSM6AAAAAA5KZPOAGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGU2DCMRRGM3TGMA . You are receiving this because you commented.Message ID: <sudheerj/reactjs-interview-questions/issue/273/issue_event/10541213730@ github.com>
@sahilbakoru Thanks added
Table of Contents is too long maybe make it a collapsible section .
Just like shown below.
https://github.com/sudheerj/reactjs-interview-questions/assets/68190549/ecb2f42a-aee7-4c4d-b058-8d655ef7a351
Above video from this gist : https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab#how-to-add-a-collapsible-section-in-markdown