Action
Preview then print yellow code preview
Last update
almost 6 years ago
- Unlisted
Steps
-
htmlpreview
<!DOCTYPE html> <html dir="auto"> <head> <title>[[title]]</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> @charset "utf-8"; html { font-size: 100%; font-family: "Helvetica Neue", "Helvetica", sans-serif; } body { margin:0; padding:1em; } @media (max-device-width: 480px) { } @media (min-device-width: 481px) { body { margin:auto; max-width:600px; } } blockquote { font-style: italic; } code, pre { border-radius: 3px; background-color: yellow; color: inherit; } code { border: 1px solid #EAEAEA; margin: 0 2px; padding: 0 5px; } pre { border: 1px solid #CCCCCC; line-height: 1.25em; overflow: auto; padding: 6px 10px; } pre > code { border: 0; margin: 0; padding: 0; } table { margin: 1em 0; border: 1px solid #aaa; border-collapse: collapse; } th { padding:.25em .5em; background: #efefef; border: 1px solid #ccc; } td { padding:.25em .5em; border: 1px solid #ccc; } img { max-width: 90%; } </style> </head> <body> %%[[draft]]%% </body> </html>
-
print
template [[title]] %%[[draft]]%%format html
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.