Join the conversation

In Jupyter Notebooks, Ctrl + / works for code cells, but for Markdown cells, you have to manually type `<!-- comment -->`. So, the shortcut depends on the editor, not Markdown itself.
Reply

what I’ve learned from others (not from the lecture, which is an assignment), about how to write comments in Markdown:Markdown doesn’t have its own comment syntax like // or #.But you can still add comments in two ways:Best method: Use HTML comment tags like this:<!-- This is a comment -->This is hidden in the output and works in almost all Markdown tools (like GitHub, VS Code, Jupyter).Another way: Put the comment inside a code block or backticks.
This makes it visible but just looks like code. It’s not hidden, so it’s not a true comment.
Reply

This is what I’ve learned about adding links in pure Markdown from the lecture and other sources:1. Reference‑style links
Write your link text in square brackets, immediately follow it with a label in another pair of square brackets, then somewhere else define that label with the URL (and an optional title).2. Collapsed reference links
If your link text and label are identical, you can leave the label empty in your text and still define it later under the same name.3. Shortcut reference links
When your link text exactly matches the label, you only need to put the text in square brackets; just define the URL for that label once.4. Autolinks
Wrap a full URL or email address in angle brackets, and Markdown will turn it into a link automatically.5. Bare URLs
In many Markdown engines (like GitHub’s), simply placing a URL on its own line will convert it into a link.
Reply

Thanks for explaining Markdown in such a clear way! 😊I like how you showed both styles using `*` and `_`.
Bold: `**text**` or `__text__`
Italic: `*text*` or `_text_`
And for bold *and* italic together: `***text***` or `___text___`
Very helpful for a person like me! 🙌
Reply