summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2021-03-26 15:00:57 -0400
committerDante Catalfamo2021-03-26 15:00:57 -0400
commit59bf0b51d1646da08c372a0ac4471991fa91c9ac (patch)
tree20c9cb90d3ad2163fcf8f3180705b1dd2da49484
parent6935445e111b28dee2d4acc21bb5ed656629b3c5 (diff)
downloadblog-59bf0b51d1646da08c372a0ac4471991fa91c9ac.tar.gz
blog-59bf0b51d1646da08c372a0ac4471991fa91c9ac.tar.bz2
blog-59bf0b51d1646da08c372a0ac4471991fa91c9ac.zip
align-columns: Correct some wording, add cover image
-rw-r--r--content/posts/WIP-emacs-align-columns/cover.pngbin0 -> 127635 bytes
-rw-r--r--content/posts/WIP-emacs-align-columns/index.org16
2 files changed, 9 insertions, 7 deletions
diff --git a/content/posts/WIP-emacs-align-columns/cover.png b/content/posts/WIP-emacs-align-columns/cover.png
new file mode 100644
index 0000000..446ad1c
--- /dev/null
+++ b/content/posts/WIP-emacs-align-columns/cover.png
Binary files differ
diff --git a/content/posts/WIP-emacs-align-columns/index.org b/content/posts/WIP-emacs-align-columns/index.org
index 1aea7fd..c41a468 100644
--- a/content/posts/WIP-emacs-align-columns/index.org
+++ b/content/posts/WIP-emacs-align-columns/index.org
@@ -7,15 +7,17 @@
#+SLUG:
#+SUMMARY:
-I've been writing a lot of ruby GraphQL queries and mutations at work
-recently, and frequently run into a situation where I have to align
-many columns of text by hand. I figured this isn't a very unique
-problem, and that in the infinite wisdom of Emacs developers over the
-last couple decades, someone must have included a piece of code to
-take care of exactly this kind of situation.
+#+ATTR_HTML: :alt Before and after columns aligned
+#+ATTR_HTML: :title Before and after aligned columns
+[[file:cover.png]]
+
+I've been writing a lot of GraphQL resolvers in ruby at work recently,
+and frequently run into a situation where I have to align many columns
+of text by hand. I figured this isn't a very unique problem, and that
+there was probably already some code within Emacs to handle it.
As it turns out I was correct in my assumption. There's an excellent
-built in package called =align.el= that takes care of just that.
+built-in package called =align= that takes care of just that.
Many of the features of the =align= package are mode-specific, but I
just wanted a function that can align columns regardless of which mode