File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,9 +63,11 @@ symlinkJoin {
6363 name = x . name ;
6464 display_name = x . display_name ;
6565 extension = x . extension ;
66- meta = x . meta ;
66+ meta = x . meta // {
67+ inherit ( x ) icon iconMonochrome ;
68+ } ;
6769 icon = x . icon ;
68- iconMonochrome = x . iconMonochrome ;
70+ icon_monochrome = x . iconMonochrome ;
6971 args = [ ( x + "/bin/export" ) ] ;
7072 input_extensions = [ "ipynb" ] ;
7173 } ) exporters ;
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ symlinkJoin {
4141 name = x . name ;
4242 display_name = x . display_name ;
4343 extension = x . extension ;
44- meta = pandoc . meta ;
45- icon = icon ;
44+ meta = pandoc . meta // {
45+ inherit icon iconMonochrome ;
46+ } ;
47+ inherit icon ;
4648 icon_monochrome = iconMonochrome ;
4749 args = [ ( x + "/bin/export" ) ] ;
4850 input_extensions = [ "ipynb" "md" ] ;
Original file line number Diff line number Diff line change 1616 echo_and_run ${ typst } /bin/typst compile "$1" "$2"
1717 '' ;
1818
19+ icon = ./typst.png ;
20+ iconMonochrome = ./typst.svg ;
21+
1922in
2023
2124symlinkJoin {
@@ -37,9 +40,11 @@ symlinkJoin {
3740 name = "codedown-exporter-typst" ;
3841 display_name = "Typst" ;
3942 extension = "pdf" ;
40- meta = typst . meta ;
41- icon = ./typst.png ;
42- iconMonochrome = ./typst.svg ;
43+ meta = typst . meta // {
44+ inherit icon iconMonochrome ;
45+ } ;
46+ inherit icon ;
47+ icon_monochrome = iconMonochrome ;
4348 args = [ ( script + "/bin/typst-export" ) ] ;
4449 outputs = [ "pdf" "png" "svg" "html" ] ;
4550 input_extensions = [ "typ" ] ;
You can’t perform that action at this time.
0 commit comments