Markdown Style Guide for Coding Notebooks

Follow this guide to keep your coding notebook clear, consistent, and professional.

This ensures your notes are easy for you (and others) to read later.


Headings

When to use: Organize your notebook into sections (like days, topics, or projects).

Example:

My Coding Notebook

Day 1

Notes
Practice

Text Formatting

When to use: Highlight important ideas or add emphasis.

Use bold for key terms or definitions.

Use italic for emphasis or side comments.

Use inline code for keywords, functions, or commands.

Example:

Class = a blueprint for objects

Remember: always test your code

Use System.out.println() to print

Code Blocks

When to use: Anytime you write multiple lines of code.

Inline code for short snippets.

Fenced code blocks with language for full examples.

Example:

        
        public class Hello {
      public static void main(String[] args) {
          System.out.println("Hello World!");
          }
        }
      

Lists

When to use: Organize steps, notes, or key points.

Numbered lists for sequences or steps.

Bulleted lists for unordered ideas.

Example:

  1. Define the class
  2. Write the main method
  3. Test your program

Variables

Checklists

When to use: Track progress on assignments or tasks.

Example:

Blockquotes

When to use: Call out notes, reminders, or teacher comments.

Example:

💡 Remember: Loops repeat code until a condition is false.

Tables

When to use: Compare values, track progress, or organize data neatly.

Example:

Task Status Notes
Homework 1 Done # Submitted
Homework 2 Pending Needs review

Links & Images

When to use: Add references, resources, or visuals.

Example:

Java Docs

Markdown Logo

To make an image that is a link, paste the image, then add the following before it, replacing website address with the link:

<a href="website address">

And after the image info, add: </a>

Collapsible Sections

When to use: Hide solutions, extended notes, or extra details.

Example:

Click to reveal solution

System.out.println("Answer: 42");

Footnotes

When to use: Add references or side notes without cluttering the page.

Example:

This concept is related to object-oriented programming.[^1]

[^1]: See "Objects and Classes" in your textbook.

Style Rules

Consistency matters more than creativity

Always use headings to structure your notes.

Always use code blocks for multi-line code.

Clarity first

Bold key terms.

Use lists instead of long sentences when outlining steps.

Professional tone

Don't mix casual notes with formal work in the same section.

Use blockquotes for reflections or teacher feedback.

Track your learning

Use checklists to mark what's done.

Use collapsible sections if you want to hide answers until review time.

Bottom Line:

Headings = Structure

Bold/Italic = Emphasis

Code blocks = Code

Lists = Steps/Ideas

Tables = Organization

Checklists = Progress

Blockquotes = Notes/Tips

Collapsible = Hide/Show detail

Keep it simple, consistent, and clear.

Table of Contents

1. Vocabulary 2. Code Examples 2.1 Print Statements

1. Vocabulary

Algorithim

Specific step-by-step procedure for solving a problem or accomplishing some end.

Example: The steps to making cookies and formulas in Math.

Sequence

A series of related things or events, or the order in which they follow each other.

Example: Brushing your teeth might consist of these steps; Put toothpaste on the toothbrush. Use the toothbrush to clean your teeth.

1. Code Examples

Print Statements
            
            public class Hello {
              public static void main(String[] args) {
                System.out.println("Hello World!");
              }
            }
            
          
- System accesses a Java class that is built into the language.
- out is short for output.
- println is short for Print Line