UziTech
Repos
421
Followers
91
Following
2

A markdown parser and compiler. Built for speed.

29369
3088

An Atom.io package to use git from the context menu

14
5

A test runner for Atom using Jasmine 3.x

Generate, play and solve sudoku puzzles

1
0

GitHub action to setup Atom and APM

28
16

Lint your CoffeeScript.

13
11

Events

closed issue
Ability to change URL's during parse/render

Describe the feature When parsing/rendering markdown that contains images, allow the consumer the ability to transform URLs. It's very common for markdown to contain relative URLs such as /public/images/something.jpg however it would be very useful be given a callback allowing us to transform this URL and return a new value.

Why is this feature necessary? There are two use cases, the first being why I created this issue, but I am sure others will also have a need for this.

  • This is virtually a requirement when creating RSS feeds. It is known that RSS is a poorly implemented specification, and creating HTML for it is always a difficult process. Some readers will require absolute URLs to render images such as https://www.example.com/public/images/something.jpg while others are happy to work with /public/images/something.jpg.
  • Image optimisation and caching. It's very common to take advantage of cloud based image optimisation, CDNs, caching etc. Such as https://cloudinary.com/documentation/media_optimization.

If Marked allows for URLs to be transformed these two use cases would be solved.

Describe alternatives you've considered

  • Using Marked to manually walk the AST
    • Powerful but complex for a fairly common task
    • Like to lead to bugs in consumer code
  • String search/regex
    • Yuck
  • Putting absolute URLs in markdown
    • Not a realistic or feasible option as URLs are going to be different between environments, CMS's that produce markdown don't insert absolute URLs, does not truly solve the problem anyway.
Created at 16 hours ago
closed issue
non breaking space (U+00A0) and possibly others not treated as whitespace OR word characters

Marked version: 4.2.12 (noticed on 4.0.10, tried upgrading to see if it helps)

Describe the bug Invisible non-breaking space characters, like in this block right here, (inline as code and content)

## h2
### h3
[link](destination)
### anotherh3

## h2 ### h3 link ### anotherh3

are not always treated as whitespace, so things like headers, tables, etc don't get formatted and are left as markdown syntax.

To Reproduce Steps to reproduce the behavior:

  1. Marked broken

    marked will create headers for the first few elements but then stop. adding extra newlines OR replacing the nonbreaking space characters seems to fix it?

  2. CommonMark broken worse

    commonmark doesn't create them at all, you have to replace the nonbreaking spaces

  3. DaringFireball's site seems to do "best", the headers are properly replaced AND the nonbreaking space stays intact?

Expected behavior Best, I'd expect all the headers to be generated, keeping the nonbreaking space intact and without extra newlines/spacing (we're moving from one platform to another and have a ton of existing and customer markdown content that we don't control and can't convert).

Created at 16 hours ago
closed issue
Tables with mismatched headers don't render (but did in ancient marked 0.7.0?)

Marked version: 4.x Ancient code on marked 0.7.0 seems to handle this better

Describe the bug A table with mismatched headers and rows won't render:

| One header |
|:------------- |:-------------|:-----|
| row | has | 3 cols |

We have a site using an ancient verison of marked, ~0.7.0, where this works in a strange way, which generates this:

image

<table>
<thead>
<tr>
<th style="text-align: left;">One header</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">row</td>
<td style="text-align: left;">has</td>
<td style="text-align: left;">3 cols</td>
</tr>
</tbody>
</table>

To Reproduce Steps to reproduce the behavior:

  1. Marked broken example if you add a couple | to the first line to have matching number of columns, the table will start working
  2. CommonMark, DaringFireball don't support tables

Expected behavior The ancient behavior of creating a table with a partial header was much more forgiving. In this case, the second header line specifying the alignment is correct and i'd expect that to be the thing that "wins".

Created at 16 hours ago
closed issue
The Chinese colon broke sibling parsing

Marked version: master

Describe the bug image

To Reproduce

Marked Demo

Expected behavior Chinese colon be parsed fine.

Created at 16 hours ago
issue comment
The Chinese colon broke sibling parsing

Duplicate of #2531

Created at 16 hours ago

chore(deps-dev): Bump semantic-release from 20.1.3 to 21.0.0 (#228)

Bumps semantic-release from 20.1.3 to 21.0.0.


updated-dependencies:

  • dependency-name: semantic-release dependency-type: direct:development update-type: version-update:semver-major ...

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Created at 16 hours ago
delete branch
UziTech delete branch dependabot/npm_and_yarn/semantic-release-21.0.0
Created at 16 hours ago
pull request closed
chore(deps-dev): Bump semantic-release from 20.1.3 to 21.0.0

Bumps semantic-release from 20.1.3 to 21.0.0.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Created at 16 hours ago
delete branch
UziTech delete branch dependabot/npm_and_yarn/rollup-3.20.2
Created at 1 day ago

chore(deps-dev): Bump rollup from 3.20.0 to 3.20.2 (#2764)

Bumps rollup from 3.20.0 to 3.20.2.


updated-dependencies:

  • dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Created at 1 day ago
pull request closed
chore(deps-dev): Bump rollup from 3.20.0 to 3.20.2

Bumps rollup from 3.20.0 to 3.20.2.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Created at 1 day ago
delete branch
UziTech delete branch dependabot/npm_and_yarn/semantic-release-21.0.0
Created at 1 day ago

chore(deps-dev): Bump semantic-release from 20.1.3 to 21.0.0 (#2762)

Bumps semantic-release from 20.1.3 to 21.0.0.


updated-dependencies:

  • dependency-name: semantic-release dependency-type: direct:development update-type: version-update:semver-major ...

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Created at 1 day ago
pull request closed
chore(deps-dev): Bump semantic-release from 20.1.3 to 21.0.0

Bumps semantic-release from 20.1.3 to 21.0.0.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Created at 1 day ago

chore(release): 5.2.7 [skip ci]

5.2.7 (2022-04-19)

Bug Fixes

chore(deps-dev): bump underscore from 1.13.2 to 1.13.3

Bumps underscore from 1.13.2 to 1.13.3.


updated-dependencies:

  • dependency-name: underscore dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #207 from coffeelint/dependabot/npm_and_yarn/underscore-1.13.3

chore(deps-dev): bump underscore from 1.13.2 to 1.13.3

fix(deps): bump coffeescript from 2.6.1 to 2.7.0 (#206)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(release): 5.2.8 [skip ci]

5.2.8 (2022-04-25)

Bug Fixes

  • deps: bump coffeescript from 2.6.1 to 2.7.0 (#206) (9f0316c)

fix(deps): bump glob from 8.0.1 to 8.0.3 (#209)

Bumps glob from 8.0.1 to 8.0.3.


updated-dependencies:

  • dependency-name: glob dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fix(deps): bump yargs from 17.4.1 to 17.5.1 (#208)

Bumps yargs from 17.4.1 to 17.5.1.


updated-dependencies:

  • dependency-name: yargs dependency-type: direct:production update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(release): 5.2.9 [skip ci]

5.2.9 (2022-05-16)

Bug Fixes

  • deps: bump glob from 8.0.1 to 8.0.3 (#209) (b51dafc)
  • deps: bump yargs from 17.4.1 to 17.5.1 (#208) (5fd34f4)

chore(deps): bump npm from 8.4.0 to 8.12.0 (#210)

Bumps npm from 8.4.0 to 8.12.0.


updated-dependencies:

  • dependency-name: npm dependency-type: indirect ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(deps): bump semver-regex from 3.1.3 to 3.1.4 (#211)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(deps-dev): bump underscore from 1.13.3 to 1.13.4

Bumps underscore from 1.13.3 to 1.13.4.


updated-dependencies:

  • dependency-name: underscore dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #212 from coffeelint/dependabot/npm_and_yarn/underscore-1.13.4

chore(deps-dev): bump underscore from 1.13.3 to 1.13.4

chore(deps-dev): bump semantic-release from 19.0.2 to 19.0.3

Bumps semantic-release from 19.0.2 to 19.0.3.


updated-dependencies:

  • dependency-name: semantic-release dependency-type: direct:development ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #213 from coffeelint/dependabot/npm_and_yarn/semantic-release-19.0.3

chore(deps-dev): bump semantic-release from 19.0.2 to 19.0.3

chore(deps): bump resolve from 1.22.0 to 1.22.1 (#214)

Bumps resolve from 1.22.0 to 1.22.1.


updated-dependencies:

  • dependency-name: resolve dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(deps-dev): bump @semantic-release/github from 8.0.4 to 8.0.5

Bumps @semantic-release/github from 8.0.4 to 8.0.5.


updated-dependencies:

  • dependency-name: "@semantic-release/github" dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #215 from coffeelint/dependabot/npm_and_yarn/semantic-release/github-8.0.5

chore(deps-dev): bump @semantic-release/github from 8.0.4 to 8.0.5

chore(deps-dev): bump semantic-release from 19.0.3 to 19.0.5

Bumps semantic-release from 19.0.3 to 19.0.5.


updated-dependencies:

  • dependency-name: semantic-release dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

chore(deps-dev): bump @semantic-release/github from 8.0.5 to 8.0.6

Bumps @semantic-release/github from 8.0.5 to 8.0.6.


updated-dependencies:

  • dependency-name: "@semantic-release/github" dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Merge pull request #217 from coffeelint/dependabot/npm_and_yarn/semantic-release-19.0.5

chore(deps-dev): bump semantic-release from 19.0.3 to 19.0.5

Created at 2 days ago

add type definition (#286)

Created at 2 days ago
pull request closed
add type definition
Created at 2 days ago
issue comment
Error when importing the function markedEmoji

I haven't used vite but I wonder if it is using the umd script. The umd script adds window.markedEmoji as a global variable. see if that works.

If you could create a repo where I could reproduce this I could help debug it.

Created at 2 days ago
Unable to override file extension - option `extname` has no effect

See https://github.com/express-handlebars/express-handlebars#extnamehandlebars

I think 'handlebars' needs to change to '.hbs'

Created at 4 days ago
issue comment
toSVG() function does not work

Looks like you are using v3.0.0 toSVG was added in v4.1.0

Created at 4 days ago
bug: option `extname` is not working

@kdekooter feel free to open a new issue if you believe this is still an issue.

Created at 4 days ago
pull request closed
chore(deps-dev): Bump @semantic-release/changelog from 6.0.2 to 6.0.3

Bumps @semantic-release/changelog from 6.0.2 to 6.0.3.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Created at 4 days ago
delete branch
UziTech delete branch dependabot/npm_and_yarn/semantic-release/changelog-6.0.3
Created at 4 days ago

chore(deps-dev): Bump @semantic-release/changelog from 6.0.2 to 6.0.3 (#227)

Bumps @semantic-release/changelog from 6.0.2 to 6.0.3.


updated-dependencies:

  • dependency-name: "@semantic-release/changelog" dependency-type: direct:development update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Created at 4 days ago
issue comment
toSVG() function does not work

It works for me. Can you give more details about what isn't working?

Created at 5 days ago

fix(deps): update dependency graceful-fs to ^4.2.11 (#531)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Created at 6 days ago
fix(deps): update dependency graceful-fs to ^4.2.11

Mend Renovate

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | graceful-fs | ^4.2.10 -> ^4.2.11 | age | adoption | passing | confidence |


Release Notes

v4.2.11

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Created at 6 days ago
UziTech delete branch renovate/glob-9.x
Created at 6 days ago

fix(deps): update dependency glob to ^9.3.2 (#526)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Created at 6 days ago