You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that it takes the configuration information into account.
We should mix the two and that all the writers use the same logic as PRPDFDOcument
and fallback on the one of PRHtmlDocument.
Please note however that such inheritance tree registration mechanism is not that good because we
cannot inject microdown infrastructure.
In addition while introducing an explicit registration mechanism would be better, at the end there is a need to be able to select between a Pillar and Mic writer. So the previous suggestion may be a first step in that direction.
Note also that we already changed such aregistration logic for other registration for example of the input document and we did it as follows:
inputClassForFile: aFile
"In the future classes should register explicitely and not be based on subclasses or implementator tricks."
"^ self subclasses
detect: [ :each | each doesHandleExtension: aFile extension ]
ifNone: [ PRNoInputDocument ]
before microdown integration we only looked in the subclasses of PRInputDocument.
Now MicInputDocument is not a subclass of PRInputDocument for dependency reasons.
It could be fixed with proper packaging."
^ ((SystemNavigation default allImplementorsOf: #doesHandleExtension:)
collect: [ :each | each methodClass instanceSide ])
detect: [ :each | each doesHandleExtension: aFile extension ]
ifNone: [ PRNoInputDocument ]
Now for the current problem the point is to find the object that will represent the difference between Microdown and Pillar syntax.
The text was updated successfully, but these errors were encountered:
Currently in PRHtmlDocument defines
as a consequence it is difficult to inject microdown writer
Now
PRPDFDocument is defining
This means that it takes the configuration information into account.
We should mix the two and that all the writers use the same logic as PRPDFDOcument
and fallback on the one of PRHtmlDocument.
Please note however that such inheritance tree registration mechanism is not that good because we
cannot inject microdown infrastructure.
In addition while introducing an explicit registration mechanism would be better, at the end there is a need to be able to select between a Pillar and Mic writer. So the previous suggestion may be a first step in that direction.
Note also that we already changed such aregistration logic for other registration for example of the input document and we did it as follows:
Now for the current problem the point is to find the object that will represent the difference between Microdown and Pillar syntax.
The text was updated successfully, but these errors were encountered: