UI description for Markdown.
The audience for this project is anyone wanting to add UI drawings, either to communicate new function, or describe real world screens.
The audience of this file is for end-users (the people writting the text documents). See [(Contributing.2.md)] for the actual project code README.
- Be better than using an image
- Add without leaving text editor
- No external serving needs
- No extra image manipulation programs
- Easy to update when software look and feel changes
- wastefull to describe rectangles with text
- Distract with irrelevant information on rest of screen
- Resulting HTML5 easy to code by hand, or read source and understand
- Quick to abstract or possible to overdo a fully realistic rendering, but with very few base elements
- Final text on widgets can always be copied (even checkmark and toggle buttons, on/off, etc)
- Acceptable on screen readers
- Easy to theme (darkmod on/off. Or pick OS highlight based on site branding. white backgrouns on print. etc)
- i18n?
- Can be used by dynamic javascript apps as an actual UI (but will never require javascript)
Tasks:
- write README
- HTML5 output examples
- Positioning CSS and base theme (Xwindow flat)
- Markdown syntax ( ```mk6 or ```ui? )
- windows
-
- titles
-
- grid (loosely based on Tk's pack geometry manager)
-
- buttons
-
- border
- labels
- buttons
- checkboxes
- radio buttons
- menus
-
- context menus
- Tutorial elements
-
- click here
-
- double click here
-
- touch here
-
- drag this there
-
- type
-
- keyboard shortcuts?
- extension/patchs to md parsers
-
- rust (pulldown-cmark)
-
-
- compile to js
-
-
- python
Only elements actually present on 90% of UIs will be included.
Not in scope: call out boxes, arrows (use color borders), comment boxes floating on UI (use text around image)
Not in scope: Images. Duh!
Not in scope: Animations.
.mk6 class name bellow can be any other name.
NOTE: this style tag can show up only once or at every code block you need it.
<style>
.mk6 { @import 'mk6.css' }
</style><window>
<title>Title of the window</title>
<list column>
<label>C:\</label>
<label>C:\Windows</label>
<skip></skip>
<label clickhere>C:\Windows\System32</label>
<label>D:\</label>
</list>
<list column2x icons>
<icon file>Autoexec.bat</icon>
<icon file>config.sys</icon>
<icon image>wallpaper.bmp</icon>
<icon executable>windows.exe</icon>
</list>
</window>TBD
GPLv3