Demo Post

Demo Post

This is my first blog post using Hugo. Hugo makes it easy to write and publish content using Markdown.

Professional Ethics

The above is a H6 header. Italics. Bold. Strikethrough. How do I underline, though?

Your success in a professional setting entails more than simply earning money and promotions. It may also mean treating stakeholders--employees, customers, clients--with honesty and respect. It may come from the sense of pride you feel about engaging in honest practices, not just because the law or policy demands it, but because you demand it of yourself. Thus, professional ethics guides the conduct by which technical writers abide by laws, regulations, and policies. Professional ethics means respecting the rights of stakeholders and the communities in which they live. Professional ethics centres on principles of good conduct through civil, social, economical, environmental, and lawful actions.

To see an example of a professional ethical code or mission statement, visit Johnson & Johnson and read "Our Credo" written by former chair Robert Wood Johnson. Forbes provides a list of companies recently deemed the most reputable companies for corporate responsibility in 2019 according to their standards and research.

In our professional lives, ethics guides our interactions. Professional ethics consist of businesses having a reputation for composing standards and displaying conduct that exemplifies civil and lawful actions that build trust, confidence, and goodwill.

Lists

The above is a H5 header.

And a numbered list would look like this:

  1. Item 1
    1. Item 1.1
  2. Item 2
  3. Item 3

Colour

I may want to colour some of my text. Red, Green, Blue. And you can also == highlight ==.

Tables

The above is a H4 header. Tables look like this:

Column 1Column 2Column 3Column 4Column 5
Data 1Data 2Data 3Data 4Data 5
Data 6Data 7Data 8Data 9Data 10
Data 11Data 12Data 13Data 14Data 15
Data 16Data 17Data 18Data 19Data 20
Data 21Data 22Data 23Data 24Data 25

Nice.

Horizontal Rule

A line can be added


... between text. And a blockquote can be added like this:

"To be or not be."

Another very important thing that I need to mull over is how to add Latex to this file. So inline Latex should look like this: $O(\log_e n)$ and an equation should look like this: $$ \frac{1}{0} = \frac{\partial f}{\partial x}{}$$

Code

The above is a H4 header. Here is an example of code from the foundationDB repo:

#pragma once
#include "flow/flow.h"
#include "libb64/encode.h"
#include "libb64/decode.h"

std::vector<ActorExecutionContext> g_currentExecutionContext;
std::unordered_map<ActorID, ActiveActor> g_activeActors;

// This is a really really really really really really really really really really really really really really really long comment.
// * Comments like these aren't gonna be coloured.
// TODO: @che8u c'mon
// ! Oops

ActorID getActorID() {
  static thread_local ActorID actorID = INIT_ACTOR_ID;
  return ++actorID;
}

/**
 * Sum numbers in a vector.
 *
 * @param values Container whose values are summed.
 * @return sum of `values`, or 0.0 if `values` is empty.
 */
double sum(std::vector<double> & const values) {
    ...
}

Padding text.

The above is a H3 header. Links within paragraphs look like this: Visit Hugo's website.

Images

The above is a H2 header. It's important to render images properly in Hugo. Make sure to convert your images to webp format.

Alt text

The Paragraph continues here.

Next Steps

The above is a H1 header.

I'll be adding more content and customising my Hugo site in future posts!