integrations / html-to-mrkdwn Goto Github PK
View Code? Open in Web Editor NEWConvert HTML to Slack's mrkdwn format
Convert HTML to Slack's mrkdwn format
Tables are currently converted to their markdown equivalent and then rendered as plain text. That is very painful on the eyes.
Branch | Build failing 🚨 |
---|---|
Dependency | jsdom |
Current Version | 11.11.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
jsdom is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 22 commits.
4d26c67
Version 11.12.0
d6688e5
Implement Element.prototype.closest()
9191218
Upgrade NWSAPI to v2.0.7
500a209
Change storageQuota to operate on code units, not bytes
23d67eb
Add the storageQuota option
b4db242
Remove unused form-data-symbols.js file
70fd739
Fix a few entries in the changelog
eae1062
Upgrades cssstyle dependency to ^1.0.0
022c204
Update hosts in Travis configuration
2761d3c
HashChangeEvent and PopStateEvent should no longer bubble
f1270e7
Roll Web Platform Tests
d6f8a97
Enable Blob-slice.html test in Node.js v10
3afbc0f
Implement Web storage - localStorage, sessionStorage, StorageEvent
7b4db76
Handle Node.js v6 timeout in execution-timing tests
a5a7785
Run failing tests to confirm their status
There are 22 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Unfortunately, I don't think Slack supports images in message formatting.
For example, in this issue mozilla/tls-observatory#298
Notice that in the issue, there's a link with the text Upcoming_Distrust_Actions wiki
but in the slack message it's Upcoming\_Distrust\_Actions wiki
GitHub allows you to use <details>
and <summary>
tags to collapse content that is noisy or may not always be relevant. This
These are all the details that should be hidden.
Line 11 in 78e3940
the real url is git+https://github.com/integrations/html-to-mrkdwn.git
The links back to repository on npmjs don't work https://www.npmjs.com/package/html-to-mrkdwn
I am using this package to convert rendered Jira comment HTML, and their code blocks look something like:
<div class="code panel" style="border-width: 1px;">
<div class="codeContent panelContent">
<pre class="code-sql">...</pre>
</div>
</div>
Could we generalize the highlightedCodeBlock
rule to support this DOM structure? Should all <pre>
tags be converted to triple backtick blocks?
When creating a Release on GitHub with two headers in the description like so:
## Released
### Changed
the /integrations/slack integration created a slack post like this:
My guess is that the markdown is being converted to an <h2>
and <h3>
with no space between them, and that html-to-mrkdwn
is not going out of its way to add a newline back.
Because the <h1>
through <h6>
tags default to display: block
, they naturally stack when viewed in a browser. As such, the expected behavior should be that headers – once converted – always begin and end with a newline.
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.