This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
@mynomoto: micha: we r not using multiple page builds because it's O(n) slow, but instead copy the same compilation result under different subdirectories
[#<TextNode TextNode [2-17] 'blockquotetext '> #<InlineHtmlNode InlineHtmlNode [17-23] '<cite>'> #<TextNode TextNode [23-29] 'author'> #<InlineHtmlNode InlineHtmlNode [29-36] '</cite>'>]
Ugh, it looks quite hard. We should find all inline html nodes and then try to find corresponding end nodes which might not exist and then wrap stuff between them inside the htmle lement
how do you get to that pegdown ast output? I couldn’t figure out how to do that yesterday
@juhoteperi: and then? this only returns something like
#<RootNode RootNode [0-196]> for me
clj (.getChildren (first (.getChildren (first (.getChildren (mp "A paragraph with <a href=\"example.org\">inline html</a>")))))) [#<TextNode TextNode [0-17] 'A paragraph with '> #<InlineHtmlNode InlineHtmlNode [17-39] '<a href="example.org">'> #<TextNode TextNode [39-50] 'inline html'> #<InlineHtmlNode InlineHtmlNode [50-54] '</a>'>]
@juhoteperi: wouldn’t it be easier for endophile to just take pegown’s html and convert it to hiccup instead of going ast>html?
@juhoteperi: in pegdown tests there is this nice tree visualization of the ast but didn’t yet bother checking how they get that
@juhoteperi: maybe for the case of perun it’d make sense to just use pegdown’s html transform?
@martinklepsch: Copy new extensions from here: https://github.com/theJohnnyBrown/endophile/pull/10/files
@juhoteperi: I’m thinking for perun it would make sense not to use endophile in general no?
endophile makes sense when you want hiccup or data.xml like stuff but as long as you only want html strings I don’t see a reason to use it
@juhoteperi: is there a way to configure vim-cider to not use prefix forms on
@juhoteperi: is a PR to add the new additions to the readme welcome or you want to change some keybinding before making that public?
Hi @martinklepsch, I am trying to create a cljsjs package following the instructions in https://github.com/cljsjs/packages/wiki/Creating-Packages . At point 7, I want to require my .jar in my ClojureScript project in order to check that everything is going well. I tried with :resource-paths in the project.clj without success.
@davy: you need to add the coordinates that are in the
Readme.md to the list of
@martinklepsch: yeah i thought so but I could seem to get google to find the docs for that 😛, kinda went straight to boot and skipped lein XD
@flyboarder: the corresponding docs for maven is here https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
:scope isn't exactly the same in boot because some things in there are for specific Maven tasks etc
basically you use
:scope to control how transitive dependencies will be resolved when someone uses a package you make
ah I see so it's not directly related to either prod/dev like dependency management apps
so if you are going to make a library that you package as a jar and distribute via clojars or maven central, you will need a pom.xml file in there
the pom.xml file is how the maven machinery knows how to download the dependencies of dependencies basically
so annotations in the pom.xml can tell clients that some of the dependencies were only needed at build time
but some of those dependencies might not be needed when someone is just using your library
it's the pom.xml that you stick in the jar to tell clients that your jar depends on other jars