Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined ::content:: results in string "undefined" #45

Open
dustingetz opened this issue Mar 13, 2018 · 1 comment
Open

undefined ::content:: results in string "undefined" #45

dustingetz opened this issue Mar 13, 2018 · 1 comment

Comments

@dustingetz
Copy link

dustingetz commented Mar 13, 2018

!anchor[](admin-account-masterlist)

image

(def remarkInstance (-> (js/remark)
                        (.use js/remarkGenericExtensions
                              (clj->js
                                {"elements"
                                 {"anchor" {"html" {"properties" {"label" "::content::" "ident" "::argument::"}}}
                                  }}))
                        (.use js/remarkGridTables)
                        (.use js/remarkReact
                              (clj->js
                                {"sanitize" false
                                 "remarkReactComponents" (->> whitelist-reagent (util/map-values reagent/reactify-component))}))))
@dustingetz
Copy link
Author

BTW, this extension is awesome. I'll take a look at fixing this when I have a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant