Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkboxes #20

Closed
wants to merge 1 commit into from
Closed

checkboxes #20

wants to merge 1 commit into from

Conversation

maelle
Copy link
Member

@maelle maelle commented Sep 22, 2020

At the moment checkboxes are lost (escaped) so we'll need to tweak the XSLT stylesheet.

@zkamvar
Copy link
Member

zkamvar commented Sep 22, 2020

We had this issue in {pegboard} with links that were included from a separate document (e.g. there would be a link like [download RStudio][rstudio], where [rstudio] was defined in links.md). Our solution was:

  1. find the text that are valid links
  2. add a tag to their element (we called it 'klink')
  3. specially process those tags as unescaped text: https://github.com/carpentries/pegboard/blob/03fb639993960115aec6e8bf4cd3b45b200efdf1/inst/stylesheets/xml2md_gfm_kramdown.xsl#L22-L26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants