Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Mar 1, 2020
1 parent c5ab04f commit 02cd045
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -127,3 +127,6 @@ dmypy.json

# Pyre type checker
.pyre/


_archive/
1 change: 1 addition & 0 deletions myst_parser/cli/render.py
@@ -0,0 +1 @@
# see https://docs.python.org/dev/library/argparse.html#nargs
6 changes: 6 additions & 0 deletions myst_parser/html_renderer.py
Expand Up @@ -96,6 +96,12 @@ def render_code_fence(self, token):
return self.render_block_code(token)

def render_directive(self, token):
# TODO use drop-down?
# <details open>
# <summary>{name} args</summary>
# options
# content
# </details>
return (
'<div class="myst-directive">'
"{t}{t}{t}"
Expand Down

0 comments on commit 02cd045

Please sign in to comment.