Skip to content

Custom converter on initialization #1

@NV

Description

@NV
upflow.attach(
    document.getElementById("canvas"),
    document.getElementById("content"),
    my_converter);

I want to set up my own converter on initialization.

Now I can do it by upflow.showdown = my_converter, but it will override converter for all instances of upflow. This is not good in case which is contain two different converters in one page (for example, Markdown and Textile).

I've tried patch upflow by myself with no luck. It was harder than I thought.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions