帮助使用 ascii art 进行输出文件格式和样式设置吗?
我正在创建一个 C# 程序,该程序输出包含大量信息的基本 .txt 文件。我正在使用格式来对齐信息,以便更容易阅读,所以这不是问题。
我想让输出文件看起来漂亮/漂亮,以便更容易阅读和查找数据部分。该文本文件是一个基本的记事本文件,因此我无法使用粗体或斜体来帮助分隔标题和特定数据区域。
我尝试使用以下 ascii 字符 *、-、_ 来创建换行符来分隔信息,这有助于使文件看起来更好。我很好奇是否还有其他人有任何其他有用的方法来使输出文件看起来更好、更容易阅读。我尝试过搜索,但运气不佳。我确信你们中的一些人已经找到了使输出文件看起来更好的方法。
谢谢!
下面是一些示例:
“**************"
标题信息
"***************"
"--------------------"
此处信息
"-- ------------------”
I am creating a C# program that is outputting a basic .txt file with a lot of information. I am using formatting to align the information so that it is easier to read, so that is not an issue.
I want to make the output file look nice/fancy so that it is easier to read and each to find sections of data. The text file is a basic notepad file so I cannot use bold or italic to help separate out headers and specif areas of data.
I have tried using the following ascii chars *, -, _ to create line breaks to separate information and it helps make the file look better. I was curious if anyone else has any other useful ways to make the output file look nicer and easier to read. I have tried searching and haven't had much luck. I am sure that some of you have found ways to make an output file look better.
Thanks!
Some examples below:
"**************"
Header Info
"***************"
"--------------------"
Infomation Here
"--------------------"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我一直很喜欢 Em Dash 角色的台词,如果这就是我所需要的。 (ALT+0151)
产生一条漂亮的实线。
如果你真的要全力以赴,还有旧的边界字符。
您可以在 charmap.exe 中找到所有这些内容(至少在 Windows 中)。滚动到底部。
I've always been a fan of the Em Dash character for lines, if that's all I need. (ALT+0151)
Produces a nice, solid line.
If you're really going to go all out, there are the old border characters.
You can find all of those (in Windows, at least) in charmap.exe. Scroll to the bottom.
我喜欢 Shibumi 的回答,但如果您想要更多示例,请进入此处的常见问题解答 GameFaqs
只需选择一个游戏(热门游戏或其他)并查看常见问题解答部分。该网站上的所有常见问题解答都是 txt 文件,您可能会得到一些可以在那里执行的操作的好示例。
I like Shibumi's answer but in case you wanted more examples, go in to the faqs here GameFaqs
Just go pick a game (top games or whatever) and look in the FAQ section. All FAQs at that website are txt files and you might get some good examples of things you can do there.