Comments (6)
Can you give an example of what the conversion you have in mind? Rd requires a specific structure with \title{}
, \description{}
, \details{}
, etc. What would this look like in markdown?
from commonmark.
I was thinking just for inline rd, like stuff you'd put in the details etc.
from commonmark.
OK. I guess if we can map out how the markdown types (p
, h1
-h5
, ol
, ul
, code
, etc) are represented in Rdoc then it shouldn't be too difficult to write a converter.
from commonmark.
Yeah, I think it's mostly those (and maybe not even headings), strong and emph, definition lists (if that's in commonmark, can't remember), code blocks (-> preformatted) and tables.
from commonmark.
See also r-lib/roxygen2#365.
from commonmark.
Oh, I just saw this. I guess this is exactly what maxygen does.
from commonmark.
Related Issues (20)
- UBSAN note about cmark
- Some sort of abstract representation? HOT 3
- Text after a bullet list HOT 4
- How to handle empty lines in md HOT 3
- Alignment of table cells when converting to XML HOT 5
- Tests failing in roxygen2 HOT 3
- commonmark_html() crashes or fails on RStudio Server on CentOS HOT 6
- CVE-2020-5238 HOT 2
- Escape characters in input
- Tagfilter extension is not applied HOT 2
- Move `master` branch to `main` HOT 1
- CVE-2022-24724 - integer overflow prior to 0.29.0.gfm.3 and 0.28.3.gfm.21 (cmark extension) HOT 2
- target="_blank" not being parsed correctly HOT 2
- Any way to flag escaped characters on input? HOT 1
- Footnotes support? HOT 11
- footnote XML output contains `<<unknown>>` tags HOT 2
- `commonmark::markdown_text(footnotes = TRUE)` does not strip footnotes HOT 1
- subscript text is converted to strikethrough HOT 4
- CVE-2023-26485 HOT 4
- Feature request: make cmark functions callable HOT 11
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 commonmark.