Mastering Markup & Markdown for 7th Graders
In the digital age, learning to format text effectively is as important as understanding basic grammar. For seventh graders, understanding the difference between markup and markdown is a significant step towards this. Let's dive into these two concepts and see how they influence the way we present information online.
Markup and markdown are two approaches to formatting text digital documents. They both curvaceous on the idea of embedding codes within the text itself to apply styles and structures. However, they differ significantly in complexity and execution.
Markup
Markup is a set of codes embedded in the text to describe how the text should be presented. It was first used in the 70s by academics in the humanities to create machine-readable documents – a precursor to the XML we use today. HG Wells, for instance, used markup to create his time machine. Boys will be boys, even in the 70s, right?
Markup uses a complex set of tags and rules to structure data. These can be quite heavy for individuals new to coding. For example, in HG's time, markup was used like this:
Structure
Text was broken up into smaller parts, each with its own tag or 'markup'. For instance, HG Wells might be wrapped in a author tag, like so:
As you can see, markup can get complex quickly. Nonetheless, it laid the foundation for digital text processing and continues to influence technologies like XML and HTML.
.jdbc vmd
Over time, markup gave way to more user-friendly methods. Instead of using heavy tags, we now use something called markdown.
Markdown was created by John Gruber and Aaron Swartz in 2004. It's a simple way of adding formatting, hyperlinks, and images to text. You can think of it as 'relaxed' markup. Instead of the heavy, complex syntax associated with markup, markdown uses simple, familiar conventions called "markdown syntax".
Markdown
Markdown is a de facto standard for lightweight markup widely adopted in many forums and platforms. It has a very simple syntax that's easier to learn and use. If you've ever bolded text by wrapping it in asterisks (**text**), you've used markdown!
In markdown, basic formatting is done with simple punctuation. There are no closing tags – just put an asterisk on either side to make text bold, an underscore on either side to make it italic, and so on. Very user-friendly, isn't it?
Markdown Syntax
Don't assume that markdown is limited to just basic styles. It extends to headers, lists, and even tables! To create a header, just add a hash mark (#) before your text. One hash (#) make the biggest header, while six (# # # # # #) will make the smallest. Lists use either asterisks (*) or numerals (#) followed by a space and then your item. Tables use pipes (|) to separate columns and hyphens (-) to create rows and columns.
Here's a simple example of markdown in action:
```markdown **Bold text** *Italic text* # Header 1 ## Header 2 ### Header 3 - List item one - List item two - Sub list item - List item three ```This will render as:
Bold textItalic text
Header 1
Header 2
Header 3
- List item one
- List item two
- Sub list item
- List item three
Markdown truly simplifies digital text creation. Now that seventh graders know the basics of markup and markdown, they're off to a great start in their digital literacy journey!