Posts tagged "emacs":

Add A Comment Section to My Blog with Giscus

01 Dec 2024

Early this year, I created this blog site and share some well-written notes on it. Since then, I really enjoy blogging and continue to post interesting things I learn. Recently, I came across the giscus project, a comment system powered by GitHub Discussions, which allows me to add a comment section to my posts. It seems to work well on my site after trying it, so I believe it presents a good opportunity to enhance this site further and encourage more exchanges of ideas.

...
Tags: emacs

Seamless Writing and Rendering with Emacs Org

06 Mar 2024

One nice feature of .org files is their easy export to HTML for viewing on any browser. Recently, I realized that it is even possible to seamlessly integrate writing and exporting processes by telling Emacs to export the .org file every time I save it. Then by launching a local server with autoreload, I can immediately preview the HTML version of the .org file. This is particular useful in writing LaTeX equations, where it is very hard to imagine what you are writign without renderin.

...
Tags: emacs

Display LaTeX Command with Unicode Characters in Emacs

24 Feb 2024

If the minor mode prettify-symbols-mode is enabled, Emacs will display certain strings with more attractive versions according to prettify-symbols-alist. For example, $\mathbb{P}(\Omega) \leq 1$ might be displayed as $ℙ(Ω) ≤ 1$. This happends without modifying the content and could be disabled by turning off the prettify-symbols-mode if necessary. This feature may be very useful in writing LaTeX formulae.

...
Tags: emacs

Org Static Blog: A Simple Static Site Generator

22 Jan 2024

I picked up most of my computer skills from reading posts online, and it got me thinking about having my own blog where I can share what I've learned. But I've always been a bit hesitant about learning all the complicated stuff in web development. Recently, I came across a third-party emacs package called org-static-blog while searching for the built-in functionality org-publish. After browsing a few blog sites created with this package, I was impressed by its simplicity and the ability to blog using org files. It became clear that this package is exactly what I need at this stage.

...
Tags: emacs

Use YASnippet to Input Greek Characters

18 Jan 2024

Sometimes, single characters like α and β are more recognizable than words like alpha and beta. I think it is particularly useful when writing formulae in LaTeX or other text environments. There are many general ways to input unicode characters quickly. For instance, most intelligent input methods will suggest α as a candidate when you input alpha. In addition, Emacs includes a built-in function insert-char, which is bound to C-x 8 RET by default. YASnippet is another way I think is more convenient for frequently used symbols.

...
Tags: emacs

Review org-publish Utility

14 Jan 2024

Recently, I finally decided to create my personal blog site. I researched a few tools and then I suddenly remembered the org-publish function in Emacs. Although I have been using Emacs and Org mode for three years, I never wrote a script in elisp. But since my interest in Emacs is continuously growing, I think it's a good time to play around with it. It is also a good practice for me to understand the source code of Org Static Blog, which is the actual blogging tool I want to use.

...
Tags: emacs
Other posts
Created by Org Static Blog