Urgent.News

What's breaking now, across thousands of outlets.

Tech

Turning my Markdown notes into a Word document

The last column in my table could use a little more room. That was my first thought looking at the exported document. The table had three columns: Deliverable, Owner, and Review requirement. They appeared equally wide, even though the content wasn’t. “Product” sat in a mostly empty cell, while the review instructions beside it wrapped across several lines. Everything was readable. I’d just give…

I observed that the table in my exported document appeared uneven, with the Deliverable column taking up more space than the Owner and Review requirement columns. This discrepancy was evident despite the varying content within each cell. Despite the text being easily readable, I decided to allocate more width to the descriptions while reducing the space dedicated to the names.

The project handoff notes I was working with were relatively simple, comprising a table, a few review steps, and a compact JavaScript function. To proceed with the conversion, I employed the Markdown to Word tool, preserving the default Classic style and downloading the DOCX file. Initially, I opted to maintain the existing styling so that I could evaluate the default output before making any adjustments.

The review steps following the table were straightforward, featuring three bullet points beneath a numbered second step. These bullet points remained indented, allowing for seamless reading without the need to discern which points were interconnected. The continuity of the instructions, such as "3," facilitated a smooth reading experience.

I also paid close attention to the code block, which, although brief, retained its indentation and the blank line preceding the "return" statement, aiding in the separation of function components. Both the code and text remained editable, devoid of syntax highlighting—a feature I found acceptable given the short length of the code.

The heading styles were accurately transferred, encompassing the title, main sections, and subsections, thereby eliminating the necessity to reconfigure the document's hierarchy. The reference at the end remained intact as a blue, underlined link, preserving its label and destination—attributes I deemed unnecessary to recreate manually after each export.

Upon examination in LibreOffice, the notes accommodated comfortably on two pages, with no elements being truncated or overlapping. The code section was positioned on the second page, accompanied by its heading and explanation, rendering the page break a logical and intuitive pause point. For this specific document, I concluded that most of the formatting remained satisfactory as-is.

However, I recognized the need to allocate an additional minute to the table, increasing the space allocated to the descriptions to enhance readability upon sharing the file.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Stop Saying "Sorry": The Kill-Process Protocol

Turn “no” into Quality Assurance in 3 seconds. The Exploitation Audit: You Are an Unpaid Background Worker At 3:45 PM on a critical sprint cycle, an unauthorized operational packet breaches your…

  • Saying "no" triggers fight-or-flight response due to evolutionary instincts.
  • Reframing "no" as Quality Assurance eliminates personal conflict.
  • Three scripts: Casual Work Dumping, Hard Session Termination, Institutional Decoupling.

Ubiquiti UniFi USW-Pro-XG-10-PoE: Is This the 10GbE Switch Your Homelab Needs?

If your homelab has outgrown gigabit networking, the Ubiquiti UniFi USW-Pro-XG-10-PoE is one of the more interesting options on the market right now.

  • The UniFi USW-Pro-XG-10-PoE is a 1U, 12-port Layer 3 switch.
  • It features ten 10GbE RJ45 ports with PoE+++ and two 10G SFP+ slots.
  • Priced at $699, it integrates well with the UniFi ecosystem.

We Checked 6 "MCP" Keyword SERPs. Not One Independent Product Page.

Before spending the week on keyword-page mapping, we pulled the SERPs for six "mcp" searches (US, live rank data): x mcp, twitter mcp, mcp for marketing, reddit mcp, keyword research mcp, mcp server…

  • No independent product pages rank on first page for six MCP keyword SERPs
  • Directories like mcpmarket dominate search results
  • Long-tail keywords present viable opportunity for ranking

pgvector: Embedding Column on the Table or a Separate Embeddings Table?

Disclosure: I build Schemity , a desktop ERD tool - this post is from our blog and uses it for the examples. TL;DR: Put the embedding where the row it describes is written least.

  • Store embeddings in separate table when chunking or re-embedding expected.
  • Use vector column on parent row for single entity per row with no updates.
  • Three layouts: column+chunks table, separate chunkembeddings table, individual model tables.

More from Friday 30 October →