Teach markdownBuilder.createTable() to support column alignment

Open
#28 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
tooling

Research direction

Locate the implementation and usage of markdownBuilder.createTable() in the TypeScript plugin source. Start by tracing how its table options are represented and rendered, then verify that callers can control column alignment and that the generated Markdown matches the requested alignment. The issue provides no test path, so identify the relevant existing table tests or add coverage alongside the change.

Written by the indexing model from the issue text.

Description

As discussed in Discord, it would be great if markdownBuilder.createTable() had a way to control column alignment....

Asking as the following replaces a manual markdown-created table where the left column was right-aligned, and although a cosmetic difference, it was easier to see the structure of the fields then...

image
Dominant language
TypeScript
Stars
191
Forks
15
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mProjectsCode/obsidian-js-engine-plugin

All issues in mProjectsCode/obsidian-js-engine-plugin

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.