com.vladsch.flexmark.ext.macros.internal.MacroFormatOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-ext-macros Show documentation
Show all versions of flexmark-ext-macros Show documentation
flexmark-java extension for processing macros
package com.vladsch.flexmark.ext.macros.internal;
import com.vladsch.flexmark.ext.macros.MacrosExtension;
import com.vladsch.flexmark.util.data.DataHolder;
import com.vladsch.flexmark.util.format.options.ElementPlacement;
import com.vladsch.flexmark.util.format.options.ElementPlacementSort;
public class MacroFormatOptions {
final public ElementPlacement macrosPlacement;
final public ElementPlacementSort macrosSort;
public MacroFormatOptions(DataHolder options) {
macrosPlacement = MacrosExtension.MACRO_DEFINITIONS_PLACEMENT.get(options);
macrosSort = MacrosExtension.MACRO_DEFINITIONS_SORT.get(options);
}
}