darekkay / darekkay/static-marks

Provide built-in templates

Open
#44 2 comments 0 reactions 0 assignees View on GitHub
Type: Enhancement
Dominant language
HTML
Stars
443
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Based on #43, I thought it would be a good idea to provide build-in templates. Currently, I can either use the [default app](https://github.com/darekkay/static-marks-app/) or provide a custom template via `--template-file` parameter. There is an [example template](https://github.com/darekkay/static-marks/blob/master/docs/examples/templates/custom.html) for others to apply or to use as inspiration to create custom templates. However, it would be nice to provide built-in templates so that it's not required to set anything up locally, e.g.:

```bash
static-marks build --template default [...]
static-marks build --template minimal [...]
```

Contributor guide

Open the contributing guide

Research direction

Start with docs/examples/templates/custom.html and the existing --template-file behavior, then compare them with the default app linked in the issue. Trace the static-marks build command and determine how the default and minimal template names should be resolved. Done means both example commands work without requiring local template setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.