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

check attributes usage from markdown or RST #3

Open
1 of 2 tasks
docsAsCode opened this issue Apr 28, 2020 · 3 comments
Open
1 of 2 tasks

check attributes usage from markdown or RST #3

docsAsCode opened this issue Apr 28, 2020 · 3 comments
Assignees
Labels
fct_build MARKDOWN question Further information is requested RST

Comments

@docsAsCode
Copy link
Contributor

docsAsCode commented Apr 28, 2020

adoc can use attributes to replace some values in a document.
The attribute must be declared in the header as :myattribute: value and can be used in the body as {myattribute}.

This issue must check :

  • we can declare & use a custom attribute in markdown
  • we can declare & use a custom attribute in RST
@docsAsCode docsAsCode added the question Further information is requested label Apr 28, 2020
@jerCarre
Copy link
Contributor

---
title: test attribute
myattribute: value
---

## first part

in this part we speak about {myattribute}

The attribute declaration is well transmitted into adoc file but the left brace is escaped by converter on attribute usage. => issue on kramdown-asciidoc

@docsAsCode
Copy link
Contributor Author

fixed by code for MD

@docsAsCode
Copy link
Contributor Author

For RST, must use substitution directive, but ... bug with pandoc : jgm/pandoc#4160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fct_build MARKDOWN question Further information is requested RST
Projects
None yet
Development

No branches or pull requests

2 participants