Comments (4)
I'm considering changing the way that glossaries work. When first implemented, I basically coopted the footnote syntax to take on an extra feature.
MMD-6 represents a good stopping point to consider re-thinking this (along with other things.) I think that coming up with a more cohesive strategy for abbreviations and acronyms makes sense, but I'm not sure yet what that will look like.
I welcome thoughts and input!
from multimarkdown-6.
A use for acronyms that I have frequently seen is TANSTAAFL (There ain't No Such Thing as a Free Lunch) on the first use of a term. Another common practice I've seen is to put the first occurrence of a new word in italics with the definition following in parentheses if short, or as a footnote if long.
word: (Expansion/Definition) would be a natural way of doing it.
I think html5 allows the creation of new tags that can be styled with CSS. Is HTML 5 well enough supported that you can drop support for the earlier ones? This would require some form of user based mapping between MD constructs and tags. If done right, then the HTML5 mapping would be a superset of the html<5 mappings.
from multimarkdown-6.
I added support for glossary terms to the develop
branch. The syntax is different than previous versions of MMD.
Previously, glossary entries hijacked the footnote syntax. This was an artifact of the fact that HTML doesn't support glossaries, and that the original LaTeX output was created by transforming HTML into LaTeX.
In MMD-6, footnotes, citations, and glossary terms are all converging on the same parsing structure. They rely on different leading characters inside the brackets (e.g. [^foo]
, [#foo]
, and now [?foo]
). All three allow inline variants as well as definition by reference. In the case of glossary terms, the inline variant requires that the term itself immediately follow the ?
and be wrapped in parentheses.
Let's talk about [?MultiMarkdown], as well as [?(Markdown) Markdown is a lightweight...].
[?MultiMarkdown]: MultiMarkdown is a "descendant" of Markdown.
I'm still tinkering with this, but let me know what you think!
from multimarkdown-6.
I think the new glossary syntax is better than the old one. There may still be room for some improvement.
See https://github.com/fletcher/MultiMarkdown-6/wiki/Changes-from-MMD-5 for more information.
from multimarkdown-6.
Related Issues (20)
- Using image reference and filename with odd number of underscores makes MM not to convert HTML to Markdown HOT 1
- Empty line after indented code block not recognized as BLOCK_EMPTY, not its newline as TEXT_NL HOT 5
- How to correctly use transclusion? HOT 4
- The first line containing a : (colon) is always treated as metadata HOT 5
- Problems with transclusion for streamed input on Windows^TM^ HOT 1
- [Feature request] File transclusion on remote raw sources HOT 4
- [Question] After stripping of MARKER_BLOCKQUOTE in tokenization, could we add back MARKER_BLOCKQUOTE when the line/block is finished? HOT 1
- Automatic abbreviation processing is not reliable HOT 2
- Export from Ghostwriter via Multimarkdown 6.6.0 to odt format fails when image is included HOT 4
- Missing Image Condition for ODT and Epub Could Be Improved HOT 6
- Broken Link to single document PDF on the GH-Pages site HOT 1
- Tables in lists with leading blanks don't render in MMDComposer5 HOT 3
- Build warning and question on directory for option HOT 4
- Please consider adding option to hide Markdown source and search windows in MMDComposer HOT 3
- Bold around a link doesn't display properly (in MultiMarkdown Viewer v5.0.0 (2023.06.08.16.13) HOT 1
- Underscores in LaTeX autorefs Are Unnecessarily Escaped HOT 1
- Image won't display in MMDComposer5 Version 5.0.0 (2023.11.03.03.02) HOT 1
- Grammar railroad diagram HOT 1
- File transclusion happens even when inside a html comment. HOT 1
- Install failed on macOS Sonoma - How to uninstall completely HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multimarkdown-6.