0 Followers
0 Following
1 Posts

Rishaal the Page-Turner

https://lemmy.world/post/11311631

Rishaal the Page-Turner - Lemmy.World

It’s not a particularly impressive image, and I didn’t do a good job at cleaning up the inpainting edges, but getting a chubby dragonborn was hard and I think he’s cute.

Testing Code blocks - Lemmy.World

This inline code block should say “foo”: foo This standalone code block should also say “foo”: foo

I 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.

Using Pandoc to export to Obsidian markdown?

https://lemmy.world/post/5694494

Using Pandoc to export to Obsidian markdown? - Lemmy.world

Does anyone have a good setup/configuration for converting documents to Obsidian-flavored markdown with Pandoc? I’ve been fiddling with it for a few hours but can’t seem to get everything right: - Obsidian markdown doesn’t support superscript. I can get Pandoc to use <sup> instead by allowing raw_html, but then… - Image embeds don’t work. Pandoc wants to use for some reason, and no matter what relative src I use the image just won’t show up. I could fix all of this by running the files through a linter of some sort, but I feel like I’m missing something. Surely someone must have had these issues before me, right?</sup>

How do you organize your DHCP clients?

https://lemmy.world/post/3521288

How do you organize your DHCP clients? - Lemmy.world

I’m setting up DHCP reservations on my home network and came up with a simple schema to identify devices: .100 is for desktops, .200 for mobiles, .010 for my devices, .020 for my wife’s, and so on. Does anyone else use schemas like this? I’ve also got .local DNS names for each device, but having a consistent schema feels nice to be able to quickly identify devices by their IPs.

Came out of the grocery store to this. Car was on but nobody was inside.

https://lemmy.world/post/2757636

Came out of the grocery store to this. Car was on but nobody was inside. - Lemmy.world

As annoying as this was, I did get to live out one of my petty fantasies: I had grabbed a coloring sheet for my toddler with some crayons, so I left a nice little note telling this guy that he could now practice staying inside the lines.

How do I get my players to read the rules?

https://lemmy.world/post/780509

How do I get my players to read the rules? - Lemmy.world

I’ve been a DM for many years, and in all that time I’ve had maybe three players read the PHB. I don’t mind explaining the rules, but it would be nice to not have to remind the wizard how spell slots work (again). Is this a common thing for most groups?