Because I am addicted to solving puzzles.
- 2 Posts
- 11 Comments
DrakeRichards@lemmy.worldOPto ObsidianMD@lemmy.world•Using Pandoc to export to Obsidian markdown?3·2 years agoI got this mostly working, but it was not easy. Not only does Obsidian have a few peculiarities that make it less compatible with standard Markdown, but Word also does a few funny things.
Here’s the
config.yaml
I used for Pandoc:from: docx to: markdown-smart-simple_tables-multiline_tables-grid_tables+pipe_tables+yaml_metadata_block-superscript-subscript-bracketed_spans-native_spans-link_attributes-raw_html+rebase_relative_paths+four_space_rule extract-media: "./" wrap: preserve markdown-headings: atx tab-stop: 2 shift-heading-level-by: 1 standalone: true template: obsidian.md filters: - compact-list.lua - remove-single-characters.py - remove-extra-linebreaks.py metadata: tags: "tags/go/here"
The three filters:
- Removed extra linebreaks added between bulleted lists to make them more compact.
- Removed lines with only a single character in them. Usually an invisible character like
nbsp
, which made Pandoc’s linter not remove them automatically. - Removes linebreaks enclosed in
Strong
tags. This is an artifact from Word where a line is bolded but has no content: technically the line break is bolded.
I then ran the resulting file through a RegExp replacement to change the superscript carats into HTML
sup
tags.Even after all this, I still have to go through with an Obsidian plugin to convert the standard Markdown links and embeds into
[[Wikilink]]
style, since Obsidian will only do one or the other throughout your whole vault.
I’m getting a 500 internal server error when accessing your site.
DrakeRichards@lemmy.worldOPto Selfhosted@lemmy.world•How do you organize your DHCP clients?English2·2 years agoA couple dozen devices maybe. I don’t really need dedicated ranges, but it’s nice to know exactly which device I’m looking at just by the IP when reading logs.
DrakeRichards@lemmy.worldOPto Selfhosted@lemmy.world•How do you organize your DHCP clients?English3·2 years agoI know they exist and vaguely what they do, but I don’t know how to set them up. What’s their advantage over simple DHCP reservations for a small client list?
DrakeRichards@lemmy.worldOPto Selfhosted@lemmy.world•How do you organize your DHCP clients?English3·2 years agoI like the range for new devices- hadn’t thought of that!
DrakeRichards@lemmy.worldto ObsidianMD@lemmy.world•Fixing Obsidian’s Markdown Display with CSS1·2 years agoThis is incredible! I would love it as a fully-supported editing mode; maybe even a replacement for Live Edit.
DrakeRichards@lemmy.worldto ObsidianMD@lemmy.world•Looking to try obsidian, but the sync seems expensive. Do you pay for sync, or are there other alternatives?English4·2 years agoDo you do much editing on your Windows machine? I tried using iCloud sync but found that the documents would randomly undo a sentence or two as I typed. Also had problems with Windows sometimes not uploading whole files.
DrakeRichards@lemmy.worldto Programmer Humor@programming.dev•Introduction to JavaScriptEnglish2·2 years agoAre you a bot or did you just not realize that this is programmer_humor?
DrakeRichards@lemmy.worldto ObsidianMD@lemmy.world•Looking to try obsidian, but the sync seems expensive. Do you pay for sync, or are there other alternatives?English10·2 years agoIf you only use iOS and a Mac then iCloud will work fine. It’s only a problem on Windows where the iCloud implementation is buggy.
Every job will have some sort of crunch time. Even just staying in a programming position, the definition of “crunch time” will vary wildly. I’m lucky enough that “crunch time” just means that I set aside all my other tasks until I fix whatever is on fire, but I still get to go home on time unless I really want the overtime pay.
I don’t envy positions with forced 80-hour workweek crunch times. That’s a sign of bad management.