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.
- Item 1
- Item 1.1
- Item 2: I'm going to make this sentence a bit longer than the previous one because I just want to verify that the arrows respect the padding even on longer bullet points.
- Item 3
And a numbered list would look like this:
- Item 1
- Item 1.1
- Item 2
- 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 1 | Column 2 | Column 3 | Column 4 | Column 5 |
---|---|---|---|---|
Data 1 | Data 2 | Data 3 | Data 4 | Data 5 |
Data 6 | Data 7 | Data 8 | Data 9 | Data 10 |
Data 11 | Data 12 | Data 13 | Data 14 | Data 15 |
Data 16 | Data 17 | Data 18 | Data 19 | Data 20 |
Data 21 | Data 22 | Data 23 | Data 24 | Data 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.
Links
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.
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!