Improving my blog post publishing tool


The publishing process for my blog posts is as follows:

  1. I write a blog post in a tool called Typora;
  2. I paste the blog post into a web tool I made that has various utilities to help me format my page;
  3. The web tool creates a markdown file with my blog post, and;
  4. I publish the blog post through GitHub.

I designed my web tool for publishing blog posts, called Create, after noticing how much friction there was in publishing a blog post. I had to click through several pages on GitHub, find metadata values, copy-paste information, and more. Sometimes I made mistakes which were subtle in the publishing process, until I noticed a blog post was not published.

Create lets me prepare a blog post for publishing on the web. I started with a two-column layout. In column one, there is a list of required and optional web forms for supplying metadata about a post. This includes the title for a post, a slug, a category, and more. In designing this tool, I want to have to fill out as few fields as possible. Thus, the title is automatically filled out by extracting the markdown from a blog post. Fields that I use less often are hidden behind an accordion, too, to help mitigate information overload.

In the second column, there was a plain text area in which I could put the contents of a post.

Here is what the tool looked like until recently:

My old blog post publishing tool

This tool suited me well but, with use, I started to see some details that could be improved. I designed the page using my typical layout, which meant I didn’t have as much room on the page as I would like. Thus, there was no preview window, a feature I started to seek. Thus, I went to my white board with the question what is the ideal layout for this page? I disregarded my existing blog format and let myself start with a blank canvas. I ended up with three columns:

My whiteboard sketch of a new publishing tool, featuring three columns

In the first column, I could have the metadata for a post. I wanted this information on the left, as it feels more natural to have those fields on the left of the page. I then decided that I wanted two columns for content: one in which to edit, and the other to preview my changes.

After drawing out the sketch, I started to put together the pieces of how the page should work. I knew CSS grid would be ideal in creating the layout I wanted. I also started to think about how a preview feature would work. The TinyMDE markdown editor was recommended, which provides an interface with which you can author and preview markdown in the browser.

With some experimentation, I ended up with this tool:

My new blog post publishing tool

The full page is used for the tool, without a navigation bar, footer, etc. I wanted to have as much space as possible to author a blog post, since that is the intent of the page. I implemented the three column layout, using TinyMDE to add a rich preview feature. I also added my blog mascot in the bottom left corner of the page, to give the page more personality.

In experimenting with the tool, I found that there was friction in editing longer blog posts since I had to scroll. If I scrolled, different columns would be offset. For example, if a blog post was long, when I scrolled all of the metadata field would stay at the top of the page. To solve this problem, I set a maximum height for the content containers and an overflow-y: scroll CSS attribute. This let me scroll each column individually, and ensure that the page itself doesn’t scroll. There may be more elegant ways to implement this: if there are, let me know!

My new tool is visually simpler than the old one. There are fewer elements on the page. Everything that is on the page is something I need or that is handy. With that said, I still see opportunities for improvement. I would love a tool that automatically generates a slug, or that automatically picks a category from my list. I have been unable to come up with good heuristics for these challenges, but the topic is still on my mind. I would like to use a statistical approach for both problems.

Most important of all, the tool serves my needs. I can format content as necessary, then press the publish button to generate a markdown file that I can publish on my website. I can publish content without worrying about making small errors in markup that cause problems. I think there is great potential in the web form -> markdown pipeline.



Source link

Visited 4 times, 1 visit(s) today

Related Article

Ernakulam rural police examine mobile phones seized from counterfeit currency case accused | Kochi News

Kochi: Ernakulam rural police have intensified investigation into a suspected counterfeit currency network after recovering three mobile phones from a 62-year-old man who was arrested for circulating fake notes. The accused, identified as Abdul Rasheed of Pathanapuram in Kollam, was taken into custody by Kuruppampadi police on Thursday.Officers said the phones were also examined by

iQOO 15 unboxed ahead of launch, charging speed downgrade confirmed

iQOO will unveil the iQOO 15 on October 20 at an event in Shenzhen, China. The brand recently shared some pictures of the iQOO 15, revealing its color options and giving us a fair idea of the smartphone’s design. Now, the iQOO 15 has appeared in an unboxing video posted by AnTuTu on Weibo, which

When It Helps And When It Hurts

If you’ve ever wondered why some people sip espresso like water while others end up wired at 3 am, you’re not alone. Coffee divides people – sometimes within the same household – into those who thrive on it and those who suffer the consequences. Mic the Vegan, a popular science communicator with a Master of

iPhone 17 vs. iPhone Air Battery Test Showdown: I Just Crowned A New Winner

Key takeaways: The iPhone 17 Pro Max has outstanding battery life that easily lasts all day with charge to spare. Our exclusive lab data shows you don’t need to pay over a grand for excellent battery life. The $829 iPhone 17’s battery lasts just as long as the $1,099 iPhone 17 Pro. The ultrathin iPhone

The latest mobile hotspots deliver 5G to almost any device while sparing your phone’s battery – here’s why businesses won’t want to snooze on the newest technology

Qualcomm’s recent announcement of the Snapdragon X2 Elite shows that the company continues to strengthen its push to gain a foothold in Windows PCs., particularly as Nvidia pumps investment into a reeling Intel. The X2 Elite outperforms Qualcomm’s previous PC offerings in all the important key metrics. But there’s one feature from the company’s early

Oppo Find X9 series coming to India in November

During the annual India Mobile Congress this year, Oppo and MediaTek announced that the Find X9 series will be the first smartphone lineup to feature MediaTek’s latest and greatest Dimensity 9500 SoC, which was announced in late September. That bit isn’t particularly new information, though. The interesting bit about the announcement is that the Find

Headlines from the Coffee Industry

Our recurring round-up of the latest specialty-coffee industry news. FROM STAFF REPORTS Featured image by Joshua Earle World Coffee Research Recognized in TIME Magazine’s Best Inventions of 2025 World Coffee Research has announced that their Innovea Global Coffee Breeding Network was named a Best Invention of 2025 by TIME Magazine. Launched in 2022, Innovea a

Domestic Violence Awareness: Waukesha coffee shops help spread word

WAUKESHA, Wis. – Coffee is serving as a conversation starter in Waukesha County during Domestic Violence Awareness Month.  Conversation starter What we know: It is a sobering reminder every October from The Women’s Center. Seventy-one people have been killed in Waukesha County acts of domestic violence since 1992.  Advocacy specialist Mo Dempsey said there was

Samsung Galaxy Tab S11 Ultra review

Introduction The Galaxy Tab S11 flagship series premiered at Berlin’s IFA this year and it is available in two sizes – the 11″ Tab S11 and the 14.6″ Tab S11 Ultra. Today, we will explore the larger of these slates, the most premium Samsung tablet right now – the Galaxy Tab S11 Ultra. Thin and

The Best Stovetop Espresso Maker for Design Enthusiasts (2025)

As you know, coffee is life in Italy. But you can still have la dolce vita stateside with the best stovetop espresso maker. Unlike espresso machines that can take up precious counter space, this type of model is typically the size of a tea kettle. The secret to making a great Italian coffee is rooted

Honor’s new teaser details the Magic8 Pro’s telephoto camera

Honor has released some new teasers about its upcoming Magic8 Pro, and specifically about its 200 MP telephoto camera. This will have a 1/1.4″ type sensor, the AIMAGE Honor Nox Engine, a large f/2.6 aperture, and, according to the brand, the industry’s first CIPA 5.5-stop image stabilization. This should handle hand shaking without issue as

Lawmakers Introduce Bipartisan Bill to Prohibit Student Cellphone Use in Pennsylvania Schools

Legislation responds to alarming declines in youth mental health, academic achievement, and social engagement.  HARRISBURG – Citing the steep decline in youth mental health and academic performance during the past decade, Sens. Devlin Robinson (R-37), Vince Hughes (D-7), and Steve Santarsiero (D-10) today announced the introduction of bipartisan legislation requiring Pennsylvania schools to adopt policies

0
Would love your thoughts, please comment.x
()
x