{ config, lib, pkgs, modulePath, }: let inherit (lib) escapeXML concatStringsSep mkOption maintainers types literalExpression ; inherit (bookmarkTypes) settingsType; bookmarkTypes = import ./bookmark-types.nix { inherit lib; }; bookmarksFile = bookmarks: let indent = level: lib.concatStringsSep "" (map (lib.const " ") (lib.range 1 level)); bookmarkToHTML = indentLevel: bookmark: ''${indent indentLevel}
${allItemsToHTML (indentLevel + 1) directory.bookmarks} ${indent indentLevel}
''; separatorToHTML = indentLevel: "${indent indentLevel}
${bookmarkEntries}