-
Notifications
You must be signed in to change notification settings - Fork 5
Markdown2Pdf.Options.ModuleOptions
Namespace: Markdown2Pdf.Options
Assembly: Markdown2Pdf.dll
Options that decide from where to load additional modules.
public class ModuleOptionsobject.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()
Creates a new instance of ModuleOptions.
protected ModuleOptions(ModuleLocation moduleLocation)moduleLocation ModuleLocation
Location from where to load the modules.
Loads the node_modules from the systems global npm node_module directory (needs npm installed and in path).
public static ModuleOptions Global { get; }Provides information from where to load modules.
public ModuleLocation ModuleLocation { get; }public ModuleLocation ModuleLocation { get; }public string? ModulePath { get; }Don't load any additional modules.
public static ModuleOptions None { get; }Loads the node_modules over remote http-requests.
public static ModuleOptions Remote { get; }This option requires an internet connection.
Loads the node_modules over remote http-requests.
public static ModuleOptions Remote { get; }This option requires an internet connection.
Loads the node_modules from the given (local) npm directory.
public static ModuleOptions FromLocalPath(string modulePath)modulePath string
The path to the node_module directory.
Loads the node_modules from the given (local) path.
public static ModuleOptions FromLocalPath(string modulePath)modulePath string
The path to the node_module directory.