Formats masterpost
Here is a post with all kinds of crazy formatting so that I can test out my CSS.
Heading alpha
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam ipsa ducimus laudantium, ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi!
Heading bravo
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam ipsa ducimus laudantium, ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi!
What a figure!
Heading charlie the first
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam ipsa ducimus laudantium, ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi!
Heading charlie the second
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam ipsa ducimus laudantium, ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi!
Here is | an example | of a | table |
---|---|---|---|
I am | testing what happens | when there’s | text in it |
testing what happens | when there’s | no text in it | |
another | line for | good measure. |
A blockquote:
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam ipsa ducimus laudantium, ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi!
Ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi!
Things I like to eat:
- Apples
- Bananas
- Ooples
- Banoonoos
Items on my desk:
- Computer
- Speakers
- Coffee
- Notepad
Code
I’ve been using the following fish alias fzl
(“fuzzy list”) to run fzf
(“fuzzy find”) in the current directory with a bat
preview. It’s just a couple of light tweaks to the examples listed in the fzf
readme.
~/.config/fish/functions/fzl.fish
:
function fzl
# `bat` is aliased to `batcat` on Debian
if type -q batcat
set -f bat_command "batcat"
else
set -f bat_command "bat"
end
# Set the overall width of the `bat` preview to
# 50% the width of the current terminal
set -l bat_width $(math ceil $COLUMNS x 0.5)
# My preferred `bat` options
set -f bat_command \
$bat_command \
--style numbers \
--color always \
--italic-text always \
--wrap auto \
--terminal-width $bat_width
fzf \
--preview "$bat_command {}" \
--preview-window right,$bat_width,nowrap
end
Example below.
Math
In this post, we will show that functions of the form
are submodular for where each and examine an application of this small result that demonstrates its practical value.1
-
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam ipsa ducimus laudantium, ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi!
Ab numquam optio cumque perspiciatis voluptatum quis accusantium, atque excepturi, laboriosam similique! Laboriosam sed dignissimos quasi non animi! ↩