Markdown Overview Quiz
18 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is a fundamental characteristic of Markdown?

  • It is the only markup language used for web development.
  • It is solely used for creating complex web applications.
  • It can only be written in plain text format.
  • It provides an unambiguous syntax specification. (correct)
  • Which of the following tools can be used to compare different implementations of Markdown?

  • CommonMark test suite
  • Babelmark 3 (correct)
  • RFC 7763
  • Markdown.pl
  • What does CommonMark provide to ensure Markdown implementations conform to its specifications?

  • A range of optional Markdown variants.
  • A test suite for validation. (correct)
  • An exclusive syntax for encryption.
  • A set of ambiguous syntax rules.
  • What defines a markup language?

    <p>A language that annotates text and associates metadata. (C)</p> Signup and view all the answers

    Which file extension is used for Markdown files?

    <p>.md (B)</p> Signup and view all the answers

    Which of the following is NOT an example of a markup language?

    <p>C++ (B)</p> Signup and view all the answers

    Which of the following claims about Markdown's syntax is true?

    <p>There are many syntactic ambiguities in Markdown. (D)</p> Signup and view all the answers

    What is a primary characteristic of Markdown?

    <p>It is a lightweight markup language with plain text syntax. (A)</p> Signup and view all the answers

    In what context is Markdown most commonly used?

    <p>For entering text on the web. (B)</p> Signup and view all the answers

    What is one way Markdown can be converted to other formats?

    <p>It can be converted to HTML among other formats. (D)</p> Signup and view all the answers

    What is a markup language primarily used for?

    <p>Formatting and structuring documents (B)</p> Signup and view all the answers

    Which of the following describes Markdown?

    <p>A plain text format for writing structured documents (B)</p> Signup and view all the answers

    Which of the following is NOT a characteristic of Markdown?

    <p>High complexity in coding structure (C)</p> Signup and view all the answers

    Which of the following Markdown variants is known for its presentation capabilities?

    <p>Marp (C)</p> Signup and view all the answers

    What is a common practical use of Markdown in data science tools?

    <p>Writing structured documents within Jupyter notebooks (D)</p> Signup and view all the answers

    Which platform is NOT mentioned as supporting Markdown?

    <p>Google Docs (B)</p> Signup and view all the answers

    Who developed Markdown and in which year?

    <p>John Gruber in 2004 (B)</p> Signup and view all the answers

    Which statement about the original Markdown syntax is true?

    <p>It has ambiguous specifications (C)</p> Signup and view all the answers

    Study Notes

    Markup Languages

    • Markup languages are computer languages used to annotate text.
    • They link metadata to parts of text in a clear, distinct way.

    Examples

    What is Markdown?

    Symbol

    Characteristics

    • Markdown is easy to read and write, using plain text.
    • It converts to various formats (e.g., HTML).
    • It is targeted at non-technical users.
    • Its syntax is inspired by plain text email.

    Usage (1)

    • Markdown is frequent on the web for entering text.
    • Key application areas include:
      • Collaboration platforms and tools
      • Blogging platforms and content management systems
      • Online community platforms
      • Note-taking applications
      • Technical and scientific publishing
      • Presentation authoring
      • Data science tools
      • AI tools

    Usage (2)

    • Collaboration platforms and tools:
      • GitHub: See: Writing on GitHub
      • Microsoft Teams: See: Use Markdown formatting in Teams
      • Trello: See: How To Format Your Text in Trello

    Usage (3)

    Usage (4)

    • Online community platforms:
      • Discord: See: Markdown Text 101 (Chat Formatting: Bold, Italic, Underline)
      • Reddit: See: https://www.reddit.com/wiki/markdown/
      • Stack Overflow: See: How do I format my posts using Markdown or HTML?

    Usage (5)

    Usage (6)

    Usage (7)

    Usage (8)

    • Data science tools:
      • Project Jupyter: See: Markdown Cells

    Usage (9)

    History (1)

    • Markdown was developed in 2004 by John Gruber with contributions from Aaron Swartz.
    • It was created as a plain text format for writing structured documents.
    • A Perl script converted Markdown to HTML (Markdown.pl).
    • Website: https://daringfireball.net/projects/markdown/

    History (2)

    File Properties

    Syntactic Ambiguities (1)

    • See CommonMark Spec for a full list of syntactic ambiguities.

    • Why a spec is needed.

    • A method to address ambiguity is to examine Gruber's implementation (Markdown.pl)

    • Unfortunately, it was quite buggy.

    Syntactic Ambiguities (2)

    Standardization

    Variants

    • GitHub-flavored Markdown (GFM)
      • See: GitHub Flavored Markdown Spec
    • Pandoc's Markdown
      • See: Pandoc User's Guide – Pandoc's Markdown
    • Markdown Variants (IANA)

    Coding Style

    • See: Markdown style guide (Google)

    Tutorials

    Editors (1)

    Editors (2)

    Editors (3)

    Editors (4)

    Conversion Tools

    • Pandoc: (platform: Linux, macOS, Windows; license: GPLv2) https://pandoc.org/ https://github.com/jgm/pandoc

    • A command-line tool written in Haskell to convert files from one markup format to another.

    • Supports Markdown as both source and target formats.

    Pandoc (1)

    Pandoc (2)

    • Styling HTML output with CSS:
    • The -c/--css command-line option associates a custom CSS stylesheet with the output HTML document.
    • This option can be reused.

    Pandoc (3)

    Pandoc (4)

    Mermaid (1)

    Mermaid (2)

    • Supported diagram types: flowchart, sequence, class, state, ER, user journey, Gantt, pie chart, requirement (SysML), Git graph,
    • Supported output formats: PDF, PNG, SVG
    • Mermaid diagrams can be embedded in Markdown documents.

    Mermaid (3)

    Mermaid (4)

    • Example: Engineering flowchart
    flowchart TD
    A{Does it move?}
    A -->|No| B{Should it?}
    A -->|Yes| C{Should it?}
    B -->|No| D[No problem]
    B -->|Yes| E[WD-40]
    C -->|Yes| F [No problem]
    C -->|No| G[Duct tape]
    

    Mermaid (5)

    • Diagram representation of the flowchart example: (Image of the flowchart, see the original document)

    Mermaid (6)

    • Embedding diagrams in Markdown documents (GitHub, Pandoc):
    ## Mermaid diagram
    
    • Pandoc requires the --filter mermaid-filter command-line option.

    Further Reading

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Markdown Presentation PDF

    Description

    Test your knowledge on the fundamental characteristics and functionalities of Markdown, a popular markup language. Dive into its syntax, file extensions, and various tools used for implementation and comparison. This quiz will help you understand how Markdown is utilized in different contexts and how it can be converted to other formats.

    More Like This

    Use Quizgecko on...
    Browser
    Browser