Skip to content
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

Whatever box #152

Open
nkh opened this issue Nov 9, 2023 · 4 comments
Open

Whatever box #152

nkh opened this issue Nov 9, 2023 · 4 comments

Comments

@nkh
Copy link
Owner

nkh commented Nov 9, 2023

Box that contains data that asciio doesn't know how to handle, ex:

  • wiki
  • image
  • markdown
  • latex
  • ...

the box as user defined

  • attributes
  • size
  • possible connector definitions
  • text rendering

rendering of box is left to external command

  • send attributes
  • Asciio font
  • ...

provide external command to render "Asciio" style

We need to make it possible to edit the attributes

  • simple text editor
  • external command
  • inline but that needs a plugin system
    • simple if the plugin is written in Perl

Exporting to ASCII, SVG, ... need to be supported by the plugin, or the box text is used.

@nkh
Copy link
Owner Author

nkh commented Nov 9, 2023

@qindapao the system above may be a good framework for the Markdown you use for the wiki.

I think this is easy to implement, then some refactoring for the Markdown code, this should eliminate the special cases.

@qindapao
Copy link
Collaborator

qindapao commented Nov 9, 2023

@nkh Ok,I will study it.As you said.

Besides, zbuffer, I'm almost finished. I'll give you a code review tomorrow night or weekend.

I admire your architectural design ability very much.

@qindapao
Copy link
Collaborator

qindapao commented Nov 9, 2023

@nkh I have to learn more about design patterns.

@nkh
Copy link
Owner Author

nkh commented Nov 9, 2023

My design abilities I've learned when I was an architect, the trick is not to think that one knows what architecture is and listen to the people having the problems and help them put their modules together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants