Skip to main content

Convert a Word document to Markdown and check the headings and table

· 4 min read
Charly Abraham
Co-Founder, Phoenix Code

Pandoc can turn a Word document into a Markdown file you can use in a GitHub README. One command creates the file. Opening it in a preview lets you check that your headings and table cells survived.

Try it with a walk plan. One meeting point is Gate A | East car park. Markdown uses that same vertical bar to separate table cells, so that address gives you an easy way to check your result.

How to Add a Favicon in HTML

· 4 min read
Charly Abraham
Co-Founder, Phoenix Code

A favicon is the small picture beside a page title in a browser tab. To add one, put the icon file on your website and add a <link rel="icon"> inside each page’s <head>. The href tells the browser where to find the file.

You’ll need an HTML page you can edit and a logo, or you can use the sample image below. We’ll give a site called Trail Notes the same icon on its home page and its About page, one folder deeper.

How to Compare Two JSON Files and Read the Differences

· 3 min read
Charly Abraham
Co-Founder, Phoenix Code

Did a setting change, or did someone just rearrange the file? Open the old version in Original JSON and the new version in Changed JSON, then click Compare JSON. Phoenix Code compares the values and shows the location of each difference. Spaces, indentation, and the order of keys in an object can change without showing up as edits.

You can use your own two files or paste the examples below. The free JSON Compare & Diff tool runs in your browser.

Build a responsive CSS Grid sidebar that stacks on phones

· 3 min read
Charly Abraham
Co-Founder, Phoenix Code

A walking guide needs room for a list of walks beside the route description. On a phone, people should be able to read the description without scrolling sideways. You can build both layouts in Phoenix’s free CSS Grid Generator and download a single HTML file that switches between them.

You’ll make three blocks called Trail notes, Walks, and Route details. All you need is a browser.

How to Get a Hex Color From an Image and Use It in CSS

· 3 min read
Charly Abraham
Co-Founder, Phoenix Code

Suppose you want a label on your website to match the orange on a trail sign. Which orange should you copy, and will white lettering be readable on it? You can answer both questions using the picture itself. In this example the orange is #FF8C42. Dark text on it measures 7.75:1 for contrast.

How to Convert Markdown to PDF with Page Breaks

· 3 min read
Charly Abraham
Co-Founder, Phoenix Code

To convert a Markdown file to PDF, open it in the Phoenix Code Markdown to PDF Converter, choose Save as PDF, then save from your browser’s print dialog. If you want a section to start on a new page, you can mark that spot in the Markdown.

Try it with a short project README. The finished handout has a file table and a CSS example on page one, followed by a checklist on page two. You can do this in a browser without installing an editor or extension.