Comments (8)
I'm not sure I understand this issue. What's a monospace link?
from markdown-transform.
I'm not sure I understand this issue. What's a monospace link?
The commonmark spec has a notion of link, but nothing font-specific. https://spec.commonmark.org/0.29/#links
from markdown-transform.
Now that I think about it, maybe this is more of an issue for the markdown-editor
. This is what I mean by monospace link:
from markdown-transform.
This seems to be parsed and round-trip properly.
bash-3.2$ cat codeinlink.md
this is a [`monospace link`](https://google.com)
bash-3.2$ markus normalize --sample codeinlink.md --output test.md
11:18:44 AM - info: Creating file: test.md
11:18:44 AM - info:
this is a [`monospace link`](https://google.com "")
@jolene, what is the error you are getting?
from markdown-transform.
Some more investigation, the Slate transform does lose the inline code:
bash-3.2$ markus normalize --sample codeinlink.md --output test.md --slate
11:29:28 AM - info: Creating file: test.md
11:29:28 AM - info:
this is a [monospace link](https://google.com "")
from markdown-transform.
This issue isn't specific to code inlines inside links, but to anything other than a text node inside a link.
For instance, with emphasis:
bash-3.2$ cat test/data/linkem.md
this is a [*code link*](https://google.com)
bash-3.2$ ../markdown-cli/index.js normalize --sample test/data/linkem.md --slate
12:20:29 PM - info:
this is a [](https://google.com "")
from markdown-transform.
This should be fixed with #171
bash-3.2$ cat test/data/linkem.md
this is a [*code link*](https://google.com)
bash-3.2$ ../markdown-cli/index.js normalize --sample test/data/linkem.md --slate
12:21:23 PM - info:
this is a [*code link*](https://google.com "")
bash-3.2$ more test/data/linkcode.md
more test/data/linkcode.md
this is a [`code link`](https://google.com)
this is a `code snippet`
bash-3.2$ ../markdown-cli/index.js normalize --sample test/data/linkcode.md --slate
12:22:25 PM - info:
this is a [`code link`](https://google.com "")
this is a `code snippet`
from markdown-transform.
A more fancy test:
bash-3.2$ more test/data/linkmixed.md
[This is a *link* with `code` and **bold**](http://google.com)
bash-3.2$ ../markdown-cli/index.js normalize --sample test/data/linkmixed.md --slate
12:30:04 PM - info:
[This is a *link* with `code` and **bold**](http://google.com "")
from markdown-transform.
Related Issues (20)
- [Build] Failing builds due to network timeouts on model loading HOT 6
- Unable to find module on npm install HOT 1
- Template Signature in `ciceromark_parsed` HOT 5
- Styling of the clause block HOT 7
- Removal Container Content Control HOT 1
- Update of js-dom dependency from 15.2.1 to 16.4.0 HOT 1
- pdf transform: bold and italics do not work HOT 1
- Refactor the transfomer(OOXML<->CiceroMark)
- Unicode fonts for pdf transform HOT 4
- Pdf Transform: Generation for nested lists without initial paragraph is broken
- Pdf transform: link with formatting do not get properly translated
- `markus --help` leads to `Cannot find module 'mkdirp'` on fresh install on mac HOT 2
- Whitespace are wrongly decoded when transforming pdf to html HOT 4
- Characters `ti` replaced by `(` in pdf HOT 1
- Pdf file transform in markdown leads to almost empty file HOT 3
- Cannot load markdown-html in react-native project
- TemplateMark Dingus does not load markdown transforms
- Rename CiceroMark to AgreementMark HOT 3
- Remove the Dingus
- Update all Concerto main repo dependencies to latest version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-transform.