Improve documentation about custom roles
See original GitHub issueContext
reStructuredText
lets us easily define Custom Interpreted Text Roles, say .. role:: custom
, which can be used automatically in every document thanks to rst_prolog
(to be inserted in the conf.py
file):
rst_prolog = """
.. role:: custom
"""
Then if a .rst
file contains :custom:`foo`
, the corresponding html
built file contains:
<span class="custom">foo</span>
It is not clear from the MyST
documentation if such a feature is provided by MyST
and, if so, how to proceed.
Proposal
Could you clarify the MyST
documentation from this point of view?
Related discussion: https://github.com/executablebooks/MyST-Parser/discussions/634.
Tasks and updates
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Creating and managing custom roles - IAM - Google Cloud
This page describes how to create and manage Identity and Access Management (IAM) custom roles. Managing roles includes modifying, disabling, listing, ...
Read more >Custom roles | Firebase Documentation - Google
Custom roles are fully customized IAM roles that you create to tailor a set of permissions that meet the specific requirements of your...
Read more >Create or update Azure custom roles using the Azure portal
Learn how to create Azure custom roles using the Azure portal and Azure role-based access control (Azure RBAC). This includes how to list, ......
Read more >Manage Custom Roles | Sysdig Documentation
If the default user and team roles don't meet the specific needs of your organization, you can create your own custom roles. Select...
Read more >Customizing User Roles - Sisense Documentation
You can customize the default roles with Sisense's REST API, ... Include the Advanced menu option for creating custom filters.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe the more “Markdown centric” way to do this is in #654
There you can now add any number of classes to both verbatim text and (nested) spans:
@jessicah Many thanks for your insights!
Your workaround indeed does the trick 😄. But the point is, my documentation (in fact a ((La)TeX) FAQ) contains 1240 source files…
Hence, as you said, it would be helpful for
MyST
to support therst_prolog
key, or even an equivalent which would be proper toMyST
.