VR3 is not related to @auto-md, and I do not know exactly how @auto-md
works. I *think* that @auto-md simply writes each child node to a separate
.md file. If you use a markdown processor on those files, it may be using a
different dialect of markdown than the one used by VR3.
Do *not *combine the ```python syntax with @language python. Use one or the
other. The following is an example:
@language md
This is a Markdown block, and below is a code block:
```python
YESNO = {True: 'yes', False: 'no'}
def print_truth(x):
print('Is "{}" True? {}'.format(x, YESNO[x]))
x = False
print_truth(x)
```
This line is not code.
This is supposed to be code:
@language python
def f(x):
return 3*x
print(f(4))
@language md
And here is a literal block:
```text
This should be a literal block
```
VR3 does not understand directives like @doc. @c is unnecessary where you
have used it, and may confuse VR3. The pair @c and @ are only intended to
skip the content between them, and only outside of code blocks. If you
put, for example, "@c" in a code block, it should be treated as plain
text. It does not seem to be, and that is probably a bug, but using "@c"
that way is not what is intended. The way to use it is like this:
@language md
This line is included
@
and this one will be skipped
@c
>From here on, the lines are included again.
The code block below will be skipped:
@
@language python
x = 2**4
@c
And here we include the following content again.
On Saturday, October 3, 2020 at 8:15:06 PM UTC-4, zhaohe wang wrote:
>
> The code font is still small(no changed) with markdown format.
>
> Only a Note: ```python ``` is needed with **syntax color** when save
> markdown file with @auto-md xxx.md
>
> [image: vr3.png]
>
> 在2020年10月4日星期日 UTC+8 上午7:46:58<zhaohe wang> 写道:
>
>> @tbp1 Thanks a lot!
>>
>> The qweb-view-font-size setting in my-leo-settings.leo can take effect.
>>
>> @int qweb-view-font-size = 16
>>
>> ***
>>
>> <CNTRL-=> or <CTRL- minus> or cmd-= or cmd-minus have no effect.
>>
>> Leo 6.3-devel, devel branch, build 8a5715ab3f
>> 2020-09-26 08:06:54 -0500
>> Python 3.7.3, PyQt version 5.12.1
>> darwin
>>
>> 在2020年10月4日星期日 UTC+8 上午6:38:18<[email protected]> 写道:
>>
>>> I have added two Leo commands to VR3 that can be linked to the same keys
>>> when the focus is not in the VR3 rendering pane:
>>>
>>> vr3-zoom-view, and vr3-shrink-view.
>>>
>>> These are still experimental. They will probably be included in the devel
>>> branch soon.
>>>
>>> On Saturday, October 3, 2020 at 12:08:10 PM UTC-4, Thomas Passin wrote:
>>>>
>>>> Actually, there is a setting to change the default font size:
>>>>
>>>> @int qweb-view-font-size = 16
>>>>
>>>> (or use some other size).
>>>>
>>>> On Saturday, October 3, 2020 at 11:48:28 AM UTC-4 [email protected]
>>>> wrote:
>>>>
>>>>> The rendering pane is basically a web browser. So click in the
>>>>> rendering pane, then use <CNTRL-=> or <CTRL- minus> like most other
>>>>> browsers. Note that this will change the entire display, including image
>>>>> size.
>>>>>
>>>>> If you do not want that, then you will have to edit the stylesheet,
>>>>> which is in Leo's plugins/viewrendered3 directory.
>>>>>
>>>>> Remember to click back in your body or outline pane for ordinary Leo
>>>>> keystrokes to work.
>>>>>
>>>>> On Saturday, October 3, 2020 at 11:20:43 AM UTC-4 [email protected]
>>>>> wrote:
>>>>>
>>>>>> It is great to show vr3 to other people if vr3 font size can be
>>>>>> adjusted.
>>>>>
>>>>>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/d6f7fcd0-2734-42f3-a881-a623119a401eo%40googlegroups.com.