All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladsch.flexmark.formatter.ExplicitAttributeIdProvider Maven / Gradle / Ivy

Go to download

Core of flexmark-java (implementation of CommonMark for parsing markdown and rendering to HTML)

There is a newer version: 0.64.8
Show newest version
package com.vladsch.flexmark.formatter;

import com.vladsch.flexmark.util.ast.Node;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public interface ExplicitAttributeIdProvider {
    /**
     * Used by AttributesExtension to insert attributes for headings during merge
     *
     * @param node     node
     * @param id       explicit id
     * @param context  context
     * @param markdown markdown writer
     */
    void addExplicitId(@NotNull Node node, @Nullable String id, @NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy