summaryrefslogtreecommitdiffstats
path: root/content/posts/WIP-emacs-align-columns
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/WIP-emacs-align-columns')
-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