Skip to content

Add option to nominate a default CSS file for embedding #44

@delphidabbler

Description

@delphidabbler

When embedding a CSS file it's path has always to be specified, unless it is in PasHi's %AppData% directory (or in the "private" folder if issue #35 is implemented).

It would be useful to be able to nominate a given CSS file to use with a shorthand version on the --embed-css command, say --embed-css -.

The default CSS file could be set with a command such as --default-css-file <path-to-css-file>. If required CSS file was in %AppData% no path would be specified.

Of course PasHi would need a special config file to store the default CSS file path. The same run.dat file proposed in issue #23 could be used.

We would have to decide how to respond to --embed-css - if no default CSS file had been set with --default-css-file. We could either raise an exception or use a default, default CSS (!) file which would need to be one if the ones provided with an installation of PasHi. If the latter option is taken then maybe --default-css-file could use the special - option to restore the default default CSS file.

Metadata

Metadata

Assignees

Labels

considering (major)Considering for inclusion in next major releaseconsidering (minor)Considering for inclusion in a minor / patch releaseenhancement

Projects

Status

Considering

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions