-
Notifications
You must be signed in to change notification settings - Fork 367
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
Is there a WYSIWYG tool to edit MAML files #508
Comments
There aren't any available that I'm aware of. Dave Sexton started to create one but as far as I know it was abandoned and the source code was never released. @RxDave Not sure if you'll see this but, if so, would you consider open sourcing what you did complete of your MAML editor so that I or someone else can have a go at finishing it? |
That should be doable. I don't remember the state in which I left it, but I'll take a look after work today. |
👍 Cool idea. I might not use it, but would encourage making it open source if it's something that worked reasonably well. 😄 |
I don't think it worked reasonably well, which is why I never followed through with it :D But let's see. |
Here ya go: I'm interested to see if you can do something with this. |
Thanks, I appreciate it. I'll see what I can do. |
Thank you! @RxDave and @EWSoftware! |
@EWSoftware Maybe there is an alternative to build a visual MAML editor.
|
MAML documents are much more structured than HTML and there are several different types. Each document type can vary with regard to required and optional elements, subsections can be nested within other sections, and there are many places where attributes define how a particular element is rendered (i.e. code block language and title, alert types, not to mention addressable elements like sections that can be used in link targets. I don't think that kind of stuff can be easily put into an HTML editor and round tripped between formats. Also, something like the glossary document type wouldn't work well being edited in a WYSIWYG format. Those would be better off with some form of customized UI to define the glossary terms and edit their definitions. The point of using MAML is that you define the structure of the content, not the layout or style. The presentation style handles that part. It also allows you to generate the MAML content in different output formats (HTML, markdown, or Open XML for example). Using a simplistic approach where all you use is HTML templates loses all of that functionality. |
I found an HTML to MAML Converter tool in the extra folder. |
The intended use for the HTML to MAML converter is to convert old HTML content to MAML content in a one time conversion. As noted in the help for it, there can be several tasks to handle in the converted content so it's not for general use on a regular basis. |
Instead of messing with MAML file tags, is there a WYSIWYG tool to edit MAML files?
The text was updated successfully, but these errors were encountered: