Hugo Markdown Blogging

Fri, Sep 4, 2020 One-minute read

Welcome to the first post on this blog

Look

#$$

$$

around.

Here is a simple footnote1.

A footnote can also have multiple lines2.

You can also use words, to fit your writing style more closely3.

I’ve set draft: false now so hopefully this will display.

    //Constant:
    /**
     *  List of valid names for making new Emojis
     */
    public static final List<String> EMOJI_NAMES =
        List.of("angry.png","astonished.png","bicycle.png","cherry.png",
                "cloud.png","clover.png","coffee.png","crying.png","halo.png",
                "hibiscus.png","moon.png","omg.png","sleeping.png","smiling-eyes.png",
                "smiling.png","sunglasses.png","sweat.png","whale.png");

    /**
     * Returns a random name from the list of valid names
     */
    public String getRandomName(){
        return  EMOJI_NAMES.get((int)((int)(Math.random()*EMOJI_NAMES.size())));
    }

  1. My reference. ↩︎

  2. Every new line should be prefixed with 2 spaces. This allows you to have a footnote with multiple lines. ↩︎

  3. Named footnotes will still render with numbers instead of the text but allow easier identification and linking. This footnote also has been made with a different syntax using 4 spaces for new lines. $$ ↩︎