A regular text post
So let’s say I write a text-only post. Since there’s no photo attached to the post (to be used on the front page), it could be optional to put one in here using inline HTML.An HTML graphic or a static image could be used on the front page where projects are being presented.
The problem
Fusce orci dolor, suscipit eu mollis et, tincidunt vitae ligula. Duis congue tincidunt tortor, sed tempor nulla suscipit rhoncus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut porttitor feugiat arcu. Pellentesque dignissim mauris in nisl lacinia quis aliquet dolor fermentum. Sed malesuada ante id nulla tincidunt cursus. Aliquam eget nisi quis odio tempus ultrices eget ac nibh.
And this is what prettyprint looks like:
tell application "Terminal" do script with command "python /path/to/your/script.py" end tell
The solution
Fusce orci dolor, suscipit eu mollis et, tincidunt vitae ligula. Duis congue tincidunt tortor, sed tempor nulla suscipit rhoncus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut porttitor feugiat arcu. Pellentesque dignissim mauris in nisl lacinia quis aliquet dolor fermentum. Sed malesuada ante id nulla tincidunt cursus. Aliquam eget nisi quis odio tempus ultrices eget ac nibh.
But this time, prettyprint with linenums:
// DISTANCE BETWEEN PARTICLE AND CAMERA vector $camPosition = <>; vector $particlePosition = particleShape1.worldPosition; particleShape1.distanceToCamPP = mag($particlePosition-$camPosition); // DEPTH DISTANCE (GREEN) float $depthDistance = cameraShape1.farClipPlane-cameraShape1.nearClipPlane; // DEPTH DISTANCE CONVERSION (RANGE NODE FORMULA) float $oldMin = 0; float $oldMax = $depthDistance; float $min = 0; float $max = 1; float $outValueDepth = $min + (((particleShape1.distanceToCamPP-$oldMin)/($oldMax-$oldMin)) * ($max-$min)); // HEIGHT DISTANCE (RED) vector $floorLocation = <>; vector $heightColor = (particleShape1.worldPosition - $floorLocation) / (roofLoc1.translateY-$floorLocation); $outValueHeight = $heightColor.y; // SET COLOR particleShape1.rgbPP = <>;
But sometimes you need sub-headlines too
I usually go with h4
Let’s say unordered lists…
- Unordered List 1
- Unordered List 2
- Unordered List 3
Yeah h4 is pretty nice
But also ordered ones…
- Ordered List 1
- Ordered List 2
- Ordered List 3
Nested lists!
- Coffee
- Tea
- Black tea
- Green tea
- Milk
Quoting Steve Jobs
A lot of people in our industry haven’t had very diverse experiences. So they don’t have enough dots to connect, and they end up with very linear solutions without a broad perspective on the problem. The broader one’s understanding of the human experience, the better design we will have.