Hani Sarji·Dec 15, 2024How to Use Taio to Compare ChatGPT-Suggested Changes in Markdown FilesWhen working with Markdown files on an iPad, Taio can be a powerful app to manage edits and revisions. I stumbled upon this workflow when…
Hani Sarji·Aug 11, 2024Open Links Other Than Anchor Links in New TabI use the following JavaScript snippet in some of my blog posts on my Ghost website by adding it as a code injection in the footer:
Hani Sarji·Mar 13, 2024How to Remove Leanpub IDs Using JavaScript Regex: A Practical GuideIf you’ve ever found yourself struggling with extraneous Leanpub IDs in your Markdown files, this guide is for you.
Hani Sarji·Mar 10, 2024Obsidian Requires `todo.md`, Not `todo.txt`If you use the popular todo.txt format to manage your todo list and you use Markdown wikilinks to link to other files, you might want to…A response icon2A response icon2
Hani Sarji·Dec 11, 2023Bracket Notation in JavaScriptBracket notation for accessing object properties is an alternative to dot notation, and it allows you to use any expression as the…
Hani Sarji·Dec 3, 2023How to Write in Markdown Within a LaTeX DocumentThe markdown package in LaTeX allows you to write in Markdown syntax within a LaTeX document.
Hani Sarji·Dec 3, 2023How to Prevent Widows and Orphans in LaTeXHere is one way in LaTeX to prevent windows and orphans:
Hani Sarji·Aug 21, 2023Use JavaScript Code to Strip HTML Comments from Markdown FileThis code reads the contents of an input file specified as input.md in the same directory as the script, removes any HTML comments using a…
Hani Sarji·Aug 20, 2023Use Python to Strip HTML CommentsHere is a Python script that takes markdown or HTML from input.md, strips HTML comments, and outputs it to output.md: