Skip to content

Commit

Permalink
default enable ligthbox for manuscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed Sep 15, 2023
1 parent a3019e0 commit 4101ed0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const kNotebookViewStyle = "notebook-view-style";
export const kNotebookPreserveCells = "notebook-preserve-cells";
export const kClearCellOptions = "clear-cell-options";
export const kDownloadUrl = "download-url";
export const kLightbox = "lightbox";

export const kNotebookPreviewOptions = "notebook-preview-options";
export const kNotebookPreviewOptionBack = "back";
Expand Down
4 changes: 4 additions & 0 deletions src/project/types/manuscript/manuscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
kKeepHidden,
kKeepTex,
kLanguageDefaults,
kLightbox,
kManuscriptMecaBundle,
kNotebookLinks,
kNotebookPreserveCells,
Expand Down Expand Up @@ -299,6 +300,9 @@ export const manuscriptProjectType: ProjectType = {
// Default to manuscript title block style
config[kTitleBlockStyle] = "manuscript";

// Default to lightbox auto
config[kLightbox] = "auto";

return config;
},
create: (title: string): ProjectCreate => {
Expand Down

0 comments on commit 4101ed0

Please sign in to comment.