Skip to content

Latest commit

 

History

History
114 lines (87 loc) · 2.69 KB

template.md

File metadata and controls

114 lines (87 loc) · 2.69 KB

Title: Blog Template Post! Date: 2000-01-01 12:12 Author: staff Slug: blog-template-post Status: draft

This is a template file useful to copy for new blog posts. It demonstrates some Markdown syntax features like Linking to an external site or an internal page or using HTML style links. There is also a sort of obnoxious footnote style for links (see bottom of source for link definition.

You can bold stuff or italicize it. Put stuffup there or downhere.

  • make
  • a list
  • of items

or

  1. use HTML
  2. lists
    • intead
    • for complicated
    • stuff
  • sweet

    Bold: list of

    Punchy: items you want to pull out, like features

    Embed an image HTML style:


    With an optional caption...

    Or markdown style:

    ![weird image][]

    Having a long line of HTML which results in a tag spanning two lines is bad, so do it like this or even in a contrived way like this instead.

    Some command line mojo:

    :::text
    $ tree notes/
    notes/
    ├── dac.txt
    ├── dma-stm32f1.txt
    ├── exti.txt
    ├── fsmc.txt
    ├── interrupts.txt
    ├── pin-definitions.txt
    ├── portable.txt
    ├── stm32.txt
    ├── timers.txt
    ├── usb.txt
    └── vga.txt
    

    Some libmaple code:

    :::c++
    // Blinks the built-in LED
    
    #include <wirish/wirish.h>
    
    void setup() {
        pinMode(BOARD_LED_PIN, OUTPUT);
    }
    
    void loop() {
        togglePin(BOARD_LED_PIN);
        delay(100);
    }
    
    __attribute__((constructor)) void premain() {
        init();
    }
    
    int main(void) {
        setup();
    
        while (true) {
            loop();
        }
        return 0;
    }
    

    Inline YouTube video example: